Luna::VariantUtils::read_json

R< Variant > read_json(IStream *stream)

Parses one JSON string.

Parameters

  • in stream

    The stream that contains the JSON string to read. IStream::read will be called to read JSON string from the stream.

Return value

Returns one variant that contains the data read from the JSON string.