Parsing JSON in chunks

Askar
2012-05-30
2013-06-12
  • Askar
    Askar
    2012-05-30

    Can libjson parse a  Json message when it comes in chunks?  Won't it generate en error when an object curly brace appeares in one junk and ending one in the other?

     
  • Yes, libjson allows this.  Use the JSONStream object in the C++ interface or json_new_stream is the C interface.