HMPJSONE ;SLC/KCM,ASMR/RRB - Encode JSON;9/25/2015 10:17
Source file <HMPJSONE.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| ENCODE(VVROOT,VVJSON,VVERR) | ; VVROOT (M structure) --> VVJSON (array of strings)
 | 
|
| DIRECT | ; TAG for use by ENCODE^HMPJSON
 | 
|
| SEROBJ(VVROOT) | ; Serialize into a JSON object
 | 
|
| SERARY(VVROOT) | ; Serialize into a JSON array
 | 
|
| SERNAME(VVSUB) | ; Serialize the object name into JSON string
 | 
|
| SERVAL(VVROOT,VVSUB) | ; Serialize X into appropriate JSON representation
 | 
|
| CONCAT | ; come here to concatenate to JSON string
 | 
|
| ISVALUE(VVROOT,VVSUB) | ; Return true if this is a value node
 | 
|
| NUMERIC(X) | ; Return true if the numeric
 | 
|
| ESC(X) | ; Escape string for JSON
 | 
|
| JNUM(N) | ; Return JSON representation of a number
 | 
|
| UCODE(C) | ; Return \u00nn representation of decimal character value
 | 
|
| ERRX(ID,VAL) | ; Set the appropriate error message
 |