Skip to content

av/yson

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

YSON

YSON (YSON - Simple Object Notation) - is a really lightweight data interchange format.

It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a JSON, which is completely language independent, but uses conventions that are familiar to programmers of the C-family of languages.

YSON is built on simple rule - to reduce the redundand syntax elements. It supports all possible data structures are supported by JSON itself. Inspired by awesome YAML and JADE syntaxes.

Example

YSON - 316 Symbols

name Luke Skywalker
height 1.72
hair_color Blond
birth_year 19 BBY
gender Male
homeworld http://swapi.co/api/planets/1/
films
  http://swapi.co/api/films/1/,
  http://swapi.co/api/films/2/,
  http://swapi.co/api/films/3/,
species
  http://swapi.co/api/species/1/,
father
  name Darth Vader
  height 2.02
  hair_color

JSON - 437 Symbols

{
  "name": "Luke Skywalker",
  "height": 1.72,
  "hair_color": "Blond",
  "birth_year": "19 BBY",
  "gender": "Male",
  "homeworld": "http://swapi.co/api/planets/1/",
  "films": [
    "http://swapi.co/api/films/1/",
    "http://swapi.co/api/films/2/",
    "http://swapi.co/api/films/3/"
  ],
  "species": [
    "http://swapi.co/api/species/1/"
  ],
  "father": {
    "name": "Darth Vader",
    "height": 2.02,
    "hair_color": null
  }
}

Structures

Object

Object

Object

Object

Object

About

YSON format description

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published