Bitcoin Forum
October 23, 2018, 08:54:20 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Poll
Question: What is your prefered serialization language?
JSON - 8 (57.1%)
YAML - 2 (14.3%)
XML - 1 (7.1%)
an other one - 2 (14.3%)
I don't care - 1 (7.1%)
Total Voters: 14

Pages: [1]
  Print  
Author Topic: Serialization languages  (Read 595 times)
grondilu
Legendary
*
Offline Offline

Activity: 1134
Merit: 1001


View Profile
June 14, 2012, 03:12:29 PM
 #1



I recently found out about YAML and I think it's much cooler than JSON.

I'm curious about your opinion about it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1540284860
Hero Member
*
Offline Offline

Posts: 1540284860

View Profile Personal Message (Offline)

Ignore
1540284860
Reply with quote  #2

1540284860
Report to moderator
1540284860
Hero Member
*
Offline Offline

Posts: 1540284860

View Profile Personal Message (Offline)

Ignore
1540284860
Reply with quote  #2

1540284860
Report to moderator
ribuck
Donator
Hero Member
*
Offline Offline

Activity: 826
Merit: 1003


View Profile
June 14, 2012, 03:28:59 PM
 #2

Whatever my code libraries use is what I use. Nowadays, that seems to be JSON more often than not.

But YAML is great. Even CSV can be made usable.
DeepBit
Donator
Hero Member
*
Offline Offline

Activity: 532
Merit: 500


We have cookies


View Profile WWW
June 14, 2012, 03:36:16 PM
 #3

Actually I don't like serialization, but looks like JSON is the most popular and supported.

Welcome to my bitcoin mining pool: https://deepbit.net ~ 3600 GH/s, Both payment schemes, instant payout, no invalid blocks !
Coming soon: ICBIT Trading platform
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
June 14, 2012, 10:50:36 PM
 #4

JSON is great for simple data, especially just arrays of numbers.

YAML is great for rich complex data, but it requires a smarter parser.  I love the human readability though.

Both are much more fun to use than XML.

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!