Bitcoin Forum
May 12, 2024, 05:31:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 673 times)
grondilu (OP)
Legendary
*
Offline Offline

Activity: 1288
Merit: 1076


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.

1715535102
Hero Member
*
Offline Offline

Posts: 1715535102

View Profile Personal Message (Offline)

Ignore
1715535102
Reply with quote  #2

1715535102
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715535102
Hero Member
*
Offline Offline

Posts: 1715535102

View Profile Personal Message (Offline)

Ignore
1715535102
Reply with quote  #2

1715535102
Report to moderator
1715535102
Hero Member
*
Offline Offline

Posts: 1715535102

View Profile Personal Message (Offline)

Ignore
1715535102
Reply with quote  #2

1715535102
Report to moderator
ribuck
Donator
Hero Member
*
Offline Offline

Activity: 826
Merit: 1039


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: 501


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!