Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1000503 // IOIOI: JSON parsing 2 - mark brackets and commas

IOIOI

In: [=[{"id":"1","text":"bla"}]=]
Out: [=[[[{]]"id":"1"[[,]]"text":"bla"[[}]]]=]
In: [=[{"id":"1","x":"y","text":"bla"}]=]
Out: [=[[[{]]"id":"1"[[,]]"x":"y"[[,]]"text":"bla"[[}]]]=]

Author comment

Began life as a copy of #1000497

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

Comments [hide]

ID Author/Program Comment Date
1391 #738 Solved!

Details:
LWrap(base=LMap(map=tm{","="[[,]]", "{"="[[{]]", "}"="[[}]]"}), f=RFJavaTok)
2020-01-26 13:25:14  delete 

add comment

Snippet ID: #1000503
Snippet name: IOIOI: JSON parsing 2 - mark brackets and commas
Eternal ID of this version: #1000503/1
Text MD5: 7e9c8c0fad9da1fb27576e8602d9ee9e
Author: stefan
Category:
Type: IOIOI
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-09 18:44:43
Source code size: 186 bytes / 4 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 763 / 268
Referenced in: [show references]