Function epics::pvData::yajl_parse_helper

Function Documentation

bool epics::pvData::yajl_parse_helper(std::istream &src, yajl_handle handle)

Wrapper around yajl_parse()

Parse entire input stream. Errors if extranious non-whitespace found after the point were parsing completes.

Note

The form of this call depends on EPICS_YAJL_VERSION

Parameters
  • src – The stream from which input charactors are read

  • handle – A parser handle previously allocated with yajl_alloc(). Not free’d on success or failure.

Returns

true if parsing completes successfully. false if parsing cancelled by callback. throws other errors