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
    17
    Posts
    2,954
    Thanks given
    1,131
    Thanks received
    1,093
    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
    483
    Thanks given
    39
    Thanks received
    78
    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  
    Extreme Donator


    Join Date
    Mar 2011
    Posts
    3,586
    Thanks given
    133
    Thanks received
    360
    Rep Power
    524
    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
    Age
    20
    Posts
    879
    Thanks given
    84
    Thanks received
    464
    Rep Power
    615
    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

    Reply With Quote  
     

  5. #5  
    Respected Member
    SpectralSpectralSpectral

    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    25
    Posts
    11,928
    Thanks given
    128
    Thanks received
    2,871
    Rep Power
    5000
    **** me not this shit again, youre only loading it once who cares
    hi lol

    Quote Originally Posted by _lewis_
    For some reason when a player eats food, it picks up the dwarf cannon. Is there a fix for this?
    Reply With Quote  
     


  6. #6  
    Registered Member

    Join Date
    Aug 2011
    Posts
    2,773
    Thanks given
    298
    Thanks received
    539
    Rep Power
    1595
    Quote Originally Posted by Luke132 View Post
    **** 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
    17
    Posts
    2,954
    Thanks given
    1,131
    Thanks received
    1,093
    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
    Age
    20
    Posts
    879
    Thanks given
    84
    Thanks received
    464
    Rep Power
    615
    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

    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
    7,965
    Thanks given
    1,683
    Thanks received
    3,368
    Rep Power
    5000
    XML has had its time, let it die
    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 Steve 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, 12:23 PM
  3. 508 Items.xml, Objects.xml and Npcs.xml
    By owner blade in forum Configuration
    Replies: 2
    Last Post: 01-13-2011, 11:16 PM
  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
  •