$result->value not serializing to a php object


#1

Hello,
My data is being returned as plain json vs a php object. Has anyone seen this before? Any ideas as to why this might be happening? I’m using the couchbase-2.1.0 library on macOSX. Thanks!

CouchbaseMetaDoc Object
(
[error] =>
[value] => {"_type":“account”,“aId”:“p::account::1006”,“usr”:“Player_12345”}
[flags] => 0
[cas] => Resource id #43
)


#2

I found a small clue, but no solution. If the document is created through the couchbase interface, it’s coming through as json. If it’s saved through php, it will return as an object.


#3

Hi.
I’m got this:
My case