Documentation
Framework
Version
Class References
Function References
Interface References
Type Alias References
Variable References

parsePartialJSON

Function: parsePartialJSON()

ts
function parsePartialJSON(jsonString): any;
function parsePartialJSON(jsonString): any;

Defined in: stream/json-parser.ts:56

Parse partial JSON string (convenience function)

Parameters

jsonString

string

The JSON string to parse (may be incomplete)

Returns

any

The parsed object, or undefined if parsing fails