JSDN - A JSON alternative

Discussion in 'Server and Client Scripting' started by TheUnknownOne, Apr 20, 2013.

  1. TheUnknownOne

    TheUnknownOne Member

    Joined:
    Mar 28, 2011
    Messages:
    988
    Likes Received:
    3
    Check it out here. | Read this for more information. | Web UI available here (can convert JSDN to JSON) | Benchmark

    Please note that JSDN is in its early stages. It might (actually, will) have bugs.

    Examples
    Web UI
    'Default' Mafia theme [generated with JSDN.stringify]
     
    Last edited: Apr 21, 2013
  2. Zzyzx Road

    Zzyzx Road Member

    Joined:
    Feb 16, 2012
    Messages:
    572
    Likes Received:
    2
    PO Trainer Name:
    Zzyzx Road
    Good work on making JSON markup even more practical, makes it a tad less annoying to write up. I might use it sometime, grats.
     
  3. TheUnknownOne

    TheUnknownOne Member

    Joined:
    Mar 28, 2011
    Messages:
    988
    Likes Received:
    3
    Thanks. Keep in mind though that because it's in very early stages, so your code (JSDN) might break when you use newer version.

    Bonus:
    # Interface vepix
    vepix{
    common: "self",
    # Role priority
    priority: 1
    # Etc
    };

    vepix1: vepix;
    vepix1.priority: 2;

    =>
    {
    "vepix": {
    "common": "self",
    "priority": 1
    },
    "vepix1": {
    "common": "self",
    "priority": 2
    }
    }