Click here to Skip to main content
15,922,894 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: JSON is better than XML Pin
honey the codewitch10-Jan-20 14:16
mvahoney the codewitch10-Jan-20 14:16 
GeneralRe: JSON is better than XML Pin
PIEBALDconsult9-Jan-20 12:45
mvePIEBALDconsult9-Jan-20 12:45 
GeneralRe: JSON is better than XML Pin
honey the codewitch9-Jan-20 13:22
mvahoney the codewitch9-Jan-20 13:22 
GeneralRe: JSON is better than XML Pin
PIEBALDconsult9-Jan-20 13:40
mvePIEBALDconsult9-Jan-20 13:40 
GeneralRe: JSON is better than XML Pin
honey the codewitch9-Jan-20 13:58
mvahoney the codewitch9-Jan-20 13:58 
GeneralRe: JSON is better than XML Pin
PIEBALDconsult9-Jan-20 14:31
mvePIEBALDconsult9-Jan-20 14:31 
JokeRe: JSON is better than XML Pin
Dar Brett9-Jan-20 16:27
Dar Brett9-Jan-20 16:27 
GeneralRe: JSON is better than XML Pin
honey the codewitch9-Jan-20 16:53
mvahoney the codewitch9-Jan-20 16:53 
I'm not sure how you'd lex in XSLT, to be honest.

Besides, it's easier to write one in Parsley:
C#
Json<start>= Object | Array;
Object= "{" [ Field { "," Field } ] "}";
Field= string ":" Value;
Array= "[" [ Value { "," Value } ] "]";
Value<collapsed>= 
    string    |
    number    |
    Object    |
    Array     |
    Boolean   |
    null      ;
Boolean= true|false;
number= '\-?(0|[1-9][0-9]*)(\.[0-9]+)?([Ee][\+\-]?[0-9]+)?';
string= '"([^\n"\\]|\\([btrnf"\\/]|(u[0-9A-Fa-f]{4})))*"';
true= "true";
false= "false";
null= "null";
lbracket<collapsed>= "[";
rbracket<collapsed>= "]";
lbrace<collapsed>= "{";
rbrace<collapsed>= "}";
colon<collapsed>= ":";
comma<collapsed>= ",";
whitespace<hidden>= '[\n\r\t ]+';


Big Grin | :-D

but then I'm biased i guess.
hack everything.

GeneralRe: JSON is better than XML Pin
Marc Clifton10-Jan-20 2:26
mvaMarc Clifton10-Jan-20 2:26 
GeneralRe: JSON is better than XML Pin
Richard Deeming10-Jan-20 3:21
mveRichard Deeming10-Jan-20 3:21 
GeneralThought of the Day Pin
OriginalGriff9-Jan-20 4:34
mveOriginalGriff9-Jan-20 4:34 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer9-Jan-20 4:59
professionalDaniel Pfeffer9-Jan-20 4:59 
GeneralRe: Thought of the Day Pin
Jane's Diary9-Jan-20 8:08
Jane's Diary9-Jan-20 8:08 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer9-Jan-20 9:20
professionalDaniel Pfeffer9-Jan-20 9:20 
GeneralRe: Thought of the Day Pin
PIEBALDconsult9-Jan-20 5:16
mvePIEBALDconsult9-Jan-20 5:16 
QuestionRe: Thought of the Day Pin
lopatir9-Jan-20 5:29
lopatir9-Jan-20 5:29 
GeneralRe: Thought of the Day Pin
Christian Graus9-Jan-20 10:32
protectorChristian Graus9-Jan-20 10:32 
GeneralMy main problem now is finding direction Pin
honey the codewitch9-Jan-20 3:54
mvahoney the codewitch9-Jan-20 3:54 
GeneralRe: My main problem now is finding direction Pin
W Balboos, GHB9-Jan-20 4:01
W Balboos, GHB9-Jan-20 4:01 
GeneralRe: My main problem now is finding direction Pin
honey the codewitch9-Jan-20 4:13
mvahoney the codewitch9-Jan-20 4:13 
GeneralRe: My main problem now is finding direction Pin
DRHuff9-Jan-20 8:25
DRHuff9-Jan-20 8:25 
GeneralRe: My main problem now is finding direction Pin
honey the codewitch9-Jan-20 8:43
mvahoney the codewitch9-Jan-20 8:43 
GeneralRe: My main problem now is finding direction Pin
Kris Lantz9-Jan-20 8:51
professionalKris Lantz9-Jan-20 8:51 
GeneralRe: My main problem now is finding direction Pin
PIEBALDconsult9-Jan-20 4:22
mvePIEBALDconsult9-Jan-20 4:22 
GeneralRe: My main problem now is finding direction Pin
Kris Lantz9-Jan-20 7:38
professionalKris Lantz9-Jan-20 7:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.