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

3
LINES

< > BotCompany Repo | #1000548 // JSON+C example (JSON Wirth Java/C++/etc-style comments)

Document

// a comment
{"id":"1000370","text":"Execute.\r\n[[!simplejava return \"ab\\\"c\";]]\r\n\r\n\/\/ Let's ignore this \\u business for now, it confuses quote() and unquote()...\r\n\/\/ [[!simplejava return \"de\\u1234fg\";]]\r\n\r\n\/\/ This is better instead:\r\n[[!simplejava return \"de\\\\fg\";]]\r\n\r\n[[!simplejava return \"an\\\"other str\\\"ing\";]]","created":"2015-07-30 18:21:01","modified":"2015-07-30 19:54:11","viewed":"2015-08-10 19:33:51","title":"SimpleJava example for TinyBrain to learn (lesson 3, strings with escapes)","author":"1","public":"1","type":"41","category":"","accesses":"187","comment":"Began life as a copy of #1000369","pitched":null,"ir_pitched":"2015-08-10 19:13:21","views":"9","solution":null,"data":null,"ir_disabled":"0","img_type":"","img_width":"0","img_height":"0","img_url":"","img_size":"0","gummipw":"","uploader_ip":"","javax_safe":"0","archived":"0","space":"0"}
/* another comment */

Author comment

Began life as a copy of #1000537

download  show line numbers   

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

No comments. add comment

Snippet ID: #1000548
Snippet name: JSON+C example (JSON Wirth Java/C++/etc-style comments)
Eternal ID of this version: #1000548/1
Text MD5: 2a27a5c4942b4e4d6453370ce9912d3c
Author: stefan
Category:
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-12 01:19:55
Source code size: 933 bytes / 3 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 545 / 426
Referenced in: #1000538 - Perform JsonTok on snippet
#3000190 - Answer for stefanreich(>> t 20 questions)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)