Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

PHP SDK "getMulti" doesn't unserialize JSON

1 reply [Last post]
  • Login or register to post comments
Wed, 01/09/2013 - 10:57
pgrigor
Offline
Joined: 01/08/2013
Groups: None

When using the PHP SDK with OPT_SERIALIZER = SERIALIZER_JSON_ARRAY both the get() and set() methods convert arrays to/from JSON, but the getMulti() method returns an array of key => JSON rather than key => array.

Top
  • Login or register to post comments
Wed, 01/09/2013 - 11:12
pgrigor
Offline
Joined: 01/08/2013
Groups: None

More info:

The docs that were stored that are not unserializing were manually json_encode'd by the app -- not serialized with the CB SDK. Does this make a difference? Documents serialized with the SDK unserialize fine.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker