Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Groovy parsing JSON vs XML

Using groovy, would you expect better performance in terms of speed and memory overhead to read and query JSON vs XML?

like image 368
mbrevoort Avatar asked Oct 07 '08 19:10

mbrevoort


1 Answers

JSON is smaller and simpler than XML. I'd bet that JSON is faster to parse.

YAML would be faster still.

like image 148
S.Lott Avatar answered Sep 20 '22 06:09

S.Lott