User Tools

Site Tools


jsonmcjason

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
jsonmcjason [2025/02/10 01:29] – jwanjsonmcjason [2025/10/10 10:15] (current) – external edit 127.0.0.1
Line 58: Line 58:
 <code> <code>
    try    try
-      js.asjson := string;+      js.asjson := '{"i": 123, "f": 123.456, "s": "abc", "b": true, "n": null}';
    except    except
       showmessage('not valid json');       showmessage('not valid json');
    end;    end;
 +</code>
 +
 +Display the whole json string
 +<code>
 +   showmessage(js.asjson);
 </code> </code>
  
 More info at https://github.com/hydrobyte/McJSON More info at https://github.com/hydrobyte/McJSON
jsonmcjason.1739150953.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki