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
    18
    Posts
    2,953
    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
    488
    Thanks given
    41
    Thanks received
    85
    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,735
    Thanks given
    157
    Thanks received
    468
    Rep Power
    562
    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
    21
    Posts
    894
    Thanks given
    87
    Thanks received
    470
    Rep Power
    627
    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
    ArcaneArcaneArcane

    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    26
    Posts
    12,031
    Thanks given
    132
    Thanks received
    2,955
    Rep Power
    5000
    fuck me not this shit again, youre only loading it once who cares
    hi lol

    Quote Originally Posted by _lewis_ View Post
    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,767
    Thanks given
    298
    Thanks received
    539
    Rep Power
    1595
    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
    18
    Posts
    2,953
    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
    21
    Posts
    894
    Thanks given
    87
    Thanks received
    470
    Rep Power
    627
    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!

    Virtus

    S Quare Quxx's Avatar
    Join Date
    Jun 2007
    Posts
    8,024
    Thanks given
    1,712
    Thanks received
    3,485
    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
  •