Changes between Version 2 and Version 3 of perlJsonEncoding


Ignore:
Timestamp:
03/05/18 14:11:53 (6 years ago)
Author:
niles
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • perlJsonEncoding

    v2 v3  
    110110}}} 
    111111 
     112The above script prints JSON that is consistent in the typing of the variables : 
     113 
     114{{{ 
     115SV = PV(0x1f7fcf0) at 0x1faa008 
     116  REFCNT = 1 
     117  FLAGS = (PADMY,POK,pPOK) 
     118  PV = 0x1f98300 "3"\0 
     119  CUR = 1 
     120  LEN = 16 
     121^^^^^^^^^^ 
     122SV = PVIV(0x1fa9080) at 0x1faa008 
     123  REFCNT = 1 
     124  FLAGS = (PADMY,IOK,POK,pIOK,pPOK) 
     125  IV = 3 
     126  PV = 0x1f98300 "3"\0 
     127  CUR = 1 
     128  LEN = 16 
     129^^^^^^^^^^ 
     130SV = PVIV(0x1fa9080) at 0x1faa008 
     131  REFCNT = 1 
     132  FLAGS = (PADMY,IOK,pIOK) 
     133  IV = 3 
     134  PV = 0x1f98300 "3"\0 
     135  CUR = 1 
     136  LEN = 16 
     137^^^^^^^^^^ 
     138{ 
     139   "amount" : 2.0, 
     140   "num" : 1, 
     141   "name" : "3" 
     142} 
     143{ 
     144   "amount" : 5.0, 
     145   "num" : 4, 
     146   "name" : "6" 
     147} 
     148{ 
     149   "amount" : 8.0, 
     150   "num" : 7, 
     151   "name" : "Niles Oien" 
     152} 
     153}}} 
     154 
     155 
    112156Niles Oien March 2018