http://qs1969.pair.com?node_id=1163111


in reply to Re: Optimization Question (Data Serialization)
in thread Optimization Question (Data Serialization)

YAML is essentially a superset of JSON. The default formatting of YAML is considered more readable than JSON (at least by me). Either protocol turns out to be somewhat less easy to hand edit accurately than it first glance it seems it should be. That may not be an issue, but readability will make it easier to debug configuration issues at least.

Premature optimization is the root of all job security

Replies are listed 'Best First'.
Re^3: Optimization Question (Data Serialization)
by afoken (Chancellor) on May 16, 2016 at 06:27 UTC
    YAML is essentially a superset of JSON.

    Not for beancounters: Re^2: conf file in Perl syntax

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: Optimization Question (Data Serialization)
by jonadab (Parson) on May 16, 2016 at 10:51 UTC

    Neither is sufficiently human-editable that I would really want it for config files.

    But that isn't important for a save-game feature.

Re^3: Optimization Question (Data Serialization)
by Anonymous Monk on May 16, 2016 at 06:57 UTC