JSON PARSE

Folgende Syntax wird für das JSON PARSE Statement erkannt:

>>-JSON PARSE--+-identifier-1--+--INTO--+--identifier-2--+---------------------+----->
                                                         |--+--------+-DETAIL--|
                                                            |--WITH--|
                                                            
>--+---------------------------------------------------------------------------+----->
   |                .-----------------------------------------.                |
   |                V                                         |                |
   |--NAME--+----+--+--identifier-3--+-+----+-+--literal-1-+--+----------------|
            |-OF-|                     |-IS-| |--OMITTED---|                                    
 
>--+---------------------------------+--+-----------------------------------------------------+----->
   |              .---------------.  |  |            |          .---------------------------. |
   |              V               |  |  |            |          V                           | |
   |--SUPPRESS--+-+-identifier-4--+--+  +-VONVERTING--phrase-1--+--+----------------------+-+-|
                                                                   |-ALSO-+--phrase-1--+--|    
                                                                   
>--+------------------------------------------------+----------------------------------------------->
   |--+----+--EXCEPTION--+--imperative-statement-1--|
      |-ON-|

>--+-----------------------------------------------------+---+------------+-------------------------><
   |--NOT--+----+--EXCEPTION--+--imperative-statement-1--|   |--END-JSON--|
           |-ON-|

phrase-1 Format

>>--identifer-6--+-----+-+------+-+-BOOLEAN-+--+-using-phrase-1-+--------------><
                |-FROM-| |-JSON-| |-BOOL----|  

using-phrase-1 Format

>>--+-------+--+-----condition-name-1-+---------------------------+--><
    |-USING-|  |-----condition-name-2--+-----+--condition-name-3--|
               |                       |-AND-|                    |
               |-----literal-2---------+-----+--literal-3---------|
                                       |-AND-|
cobmig:cobol:stmt:jsonparse · Zuletzt geändert: 09.08.2024 13:24

Copyright © 1992-2024 TeamWiSE Gesellschaft für Softwaretechnik mbH         Adressen |  Kontakt |  AGB |  Datenschutzerklärung |  Impressum