Company
Date Published
Author
Mark Nunberg, Software Engineer, Couchbase
Word count
267
Language
English
Hacker News points
None

Summary

Years ago, the jsonsl library was developed to efficiently handle JSON parsing for the Perl client by allowing data to be processed incrementally as it arrives from the network, rather than waiting for a complete JSON object. This functionality, initially supported in Python and Perl clients, has been integrated into the C library, enhancing its testing infrastructure and simplifying its API compared to the raw HTTP API. The library's new view functionality includes the capability to fetch documents directly by setting a specific flag. Additionally, the N1QL API, an experimental feature available as a developer preview, offers a similar row-based approach to the views API but requires the creation of a "parameters" object due to its complexity. The installation follows standard upgrade procedures.