Link Search Menu Expand Document

JSONDocument.Load Method

Explanation Read JSON data from the Reader object .
The Value value before executing the Load method is lost.

If the internal character code is Unicode , the character code of the input JSON file is UTF-8 .
Call format jsondoc.Load( reader )
Return value None
Argument Object reader ReaderObject of read source ( object that can use Read method)
Exception JSON-1 Nth character analysis failed
JSON-2 No valid Read object specified
JSON-3 Does not support Read () method
Example of use
        var jsondoc = new JSONDocument;
        var res = session.get("/test/sample.json");
        jsondoc.Load(res);
    
Related item Save, Get, Parse methods