Thread: JSON Vs XML

Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1 JSON Vs XML 
    Banned

    Join Date
    Jul 2006
    Age
    20
    Posts
    2,948
    Thanks given
    1,128
    Thanks received
    1,089
    Rep Power
    0
    Which one would you prefer to load data? I heard recently JSON is the better of the two, but I've also been told XML was. Which one do you think is better for loading data, and why?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2010
    Posts
    498
    Thanks given
    41
    Thanks received
    84
    Rep Power
    54
    Json is just faster in my opinion, I'm not sure how much either can do but I'm enjoying Json far more for whatever reason... However this is a rather lack of Json plugins for eclipse which im sad about.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Mar 2011
    Posts
    4,070
    Thanks given
    194
    Thanks received
    687
    Rep Power
    0
    Pretty sure JSON is faster, but I'm not growing too fond of it, don't really like the naming conventions and if you plan on releasing work, people will need to download the JSON external library and put it on eclipse (assuming they use eclipse) and most people don't know how and will be too lazy to figure it out.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Feb 2012
    Posts
    901
    Thanks given
    96
    Thanks received
    481
    Rep Power
    629
    The problem with XML is that it's a lot of text in comparison to the data it holds. Loading speeds shouldn't be a problem with any, since you're loading it all on startup anyway.

    My preference lies with neither of the two. I use YAML for smaller configurations (events, etc.) and binary for the rest of it, with a small tool to update it if needed.
    Chris Fletcher
    Economist & Hobbyist Developer
    Reply With Quote  
     

  5. #5  
    Banned


    Join Date
    Dec 2007
    Age
    28
    Posts
    12,325
    Thanks given
    148
    Thanks received
    3,634
    Rep Power
    0
    fuck me not this shit again, youre only loading it once who cares
    Reply With Quote  
     


  6. #6  
    Registered Member

    Join Date
    Aug 2011
    Posts
    2,764
    Thanks given
    297
    Thanks received
    539
    Rep Power
    1596
    Quote Originally Posted by Luke132 View Post
    fuck me not this shit again, youre only loading it once who cares
    lol this. speed is not the key.
    Quote Originally Posted by Aj View Post
    This is not even a tutorial. It's fail for rep. It's fail for life.
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jul 2006
    Age
    20
    Posts
    2,948
    Thanks given
    1,128
    Thanks received
    1,089
    Rep Power
    0
    Quote Originally Posted by iRageQuit2012 View Post
    Pretty sure JSON is faster, but I'm not growing too fond of it, don't really like the naming conventions and if you plan on releasing work, people will need to download the JSON external library and put it on eclipse (assuming they use eclipse) and most people don't know how and will be too lazy to figure it out.
    I probably won't be releasing JSON work.
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Feb 2012
    Posts
    901
    Thanks given
    96
    Thanks received
    481
    Rep Power
    629
    I find it funny to see how people say binary data is bad and making a GUI application to manage it is too much work, but then spend twice the time needed to make such a thing discussing which non-binary format is the best.
    Chris Fletcher
    Economist & Hobbyist Developer
    Reply With Quote  
     

  9. Thankful user:


  10. #9  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!


    S Quare Quxx's Avatar
    Join Date
    Jun 2007
    Posts
    8,412
    Thanks given
    1,802
    Thanks received
    4,046
    Rep Power
    5000
    XML has had its time, let it die
    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  11. Thankful user:


  12. #10  
    arrowzftw
    Guest
    JSON seems much simpler but the XML layout is much more tidier in my opinion.
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Java JSON
    By K2 in forum Help
    Replies: 7
    Last Post: 05-13-2012, 04:47 AM
  2. JSON Cache
    By Laxika in forum Tutorials
    Replies: 4
    Last Post: 03-06-2012, 01:23 PM
  3. 508 Items.xml, Objects.xml and Npcs.xml
    By owner blade in forum Configuration
    Replies: 2
    Last Post: 01-14-2011, 12:16 AM
  4. Replies: 0
    Last Post: 07-30-2010, 03:29 AM
  5. Replies: 3
    Last Post: 05-03-2010, 03:39 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •