Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: XLFJSON

Package: Kernel

Routine: XLFJSON


Information

XLFJSON ;SLC/KCM/TJB - Decode/Encode JSON ;26 Oct 2016

Source Information

Source file <XLFJSON.m>

Entry Points

Name Comments DBIA/ICR reference
DECODE(XUJSON,XUROOT,XUERR)
  • ICR #6682
    • Status: Active
    • Usage: Supported
    ENCODE(XUROOT,XUJSON,XUERR) ; XUROOT (M structure) --> XUJSON (array of strings)
    ; Examples: D ENCODE^XLFJSON("^GLO(99,2)","^TMP($J)")
    ; D ENCODE^XLFJSON("LOCALVAR","MYJSON","LOCALERR")
  • ICR #6682
    • Status: Active
    • Usage: Supported
    ESC(X) ; Escape string for JSON
    ; X: Required; String to be escaped
  • ICR #6682
    • Status: Active
    • Usage: Supported
    UES(X) ; Unescape JSON string
    ; X: Required; String to be unescaped
  • ICR #6682
    • Status: Active
    • Usage: Supported
    ERRX(ID,VAL) ; Set the appropriate error message
    ; switch (ID) -- XERRX ends statement
    XERRX ; end switch
    Info |  Source |  Entry Points