All Projects → stand-art → jaxn

stand-art / jaxn

Licence: other
JAXN: A standard for extended JSON

Projects that are alternatives of or similar to jaxn

standard-action
Github Action to lint with `standard` and friends
Stars: ✭ 15 (-6.25%)
Mutual labels:  standard
yantra
JavaScript Engine for .NET Standard
Stars: ✭ 32 (+100%)
Mutual labels:  standard
linux.gpio.clj
Use the standard Linux GPIO API from Clojure JVM
Stars: ✭ 24 (+50%)
Mutual labels:  standard
protoconfig
ProtoConfig 1.0: Open Standard for using, defining, and consuming software configuration input in a unified way.
Stars: ✭ 24 (+50%)
Mutual labels:  standard
security-policy-specification-standard
This document proposes a way of standardising the structure, language, and grammar used in security policies.
Stars: ✭ 24 (+50%)
Mutual labels:  standard
ows4R
R Interface for OGC Web-Services (OWS)
Stars: ✭ 29 (+81.25%)
Mutual labels:  standard
wgsrpd
World Geographical Scheme for Recording Plant Distributions (WGSRPD)
Stars: ✭ 32 (+100%)
Mutual labels:  standard
servie
Standard, framework-agnostic HTTP interfaces for JavaScript servers and clients
Stars: ✭ 39 (+143.75%)
Mutual labels:  standard
swissrets
A swiss real estate transaction standard
Stars: ✭ 21 (+31.25%)
Mutual labels:  standard
gsclib
gsclib acts as a standard library extension for the Call of Duty 4 scripting language.
Stars: ✭ 32 (+100%)
Mutual labels:  standard
onebot
OneBot:统一的聊天机器人应用接口标准
Stars: ✭ 1,113 (+6856.25%)
Mutual labels:  standard
erc721
The reference implementation of the ERC-721 non-fungible token standard.
Stars: ✭ 989 (+6081.25%)
Mutual labels:  standard
nebuchadnezzar
on the way to cleanest react architechture
Stars: ✭ 15 (-6.25%)
Mutual labels:  standard
sn-cli
a command line interface for standard notes
Stars: ✭ 56 (+250%)
Mutual labels:  standard
technical-standard
CODIUM Technical Standard
Stars: ✭ 15 (-6.25%)
Mutual labels:  standard
webidl
Web IDL Standard
Stars: ✭ 296 (+1750%)
Mutual labels:  standard
infra
Infra Standard
Stars: ✭ 85 (+431.25%)
Mutual labels:  standard
shared-row
This is an open data specification for describing the right-of-way (ROW) for street centerline networks. It is intended to establish a common set of attributes (schema) to describe how space is allocated along a streets right of way from sidewalk edge to sidewalk edge.
Stars: ✭ 16 (+0%)
Mutual labels:  standard
ethereum-dex
Decentralized exchange implementation for the 0xcert protocol on the Ethereum blockchain.
Stars: ✭ 18 (+12.5%)
Mutual labels:  standard
storage
Storage Standard
Stars: ✭ 92 (+475%)
Mutual labels:  standard

Welcome to JAXN

JAXN (pronounced "Jackson") is a standard that carefully extends JSON with a few often-required additions to the data model, and with new syntax that makes it more human friendly.

JAXN IS CURRENTLY WORK-IN-PROGRESS

Until version 1.0 of JAXN is published, everything is considered work-in-progress, and anything might still change. Ideas, feedback and other input is welcome and appreciated. Please feel free to open an issue, or write to [email protected].

The JAXN Data Model

JAXN extends the JSON data model with the following points:

  • Allows non-finite values NaN, Infinity and -Infinity for numbers.
  • Adds a new primitive type for values representing binary data.

The JAXN Text Representation

JAXN text representation extends the JSON text representation with the following points:

Comments

  • # single-line comment
  • // single-line comment
  • /* block comment */

Numbers

  • Allow a leading + sign.
  • Allow omission of leading or trailing zeros, e.g. .5, or 42..
  • Add non-finite values NaN and Infinity.
  • Add hexadecimal integer values, e.g. 0xDEADBEEF.

Strings

  • Add single-quoted strings, e.g. 'This is a "single-quote" string. No really, it is!'.
  • Add new escape sequences \', \v, \0 and \u{X...}.
  • Add multiline strings with no escape sequences.
  • Add concatenation of strings, e.g. "Hello," + " world!".

Binary Data

  • New primitive type that can represent arbitrary byte sequences.
  • Two syntactical variants that can be concatenated with each other.
  • Hexdumped binary, e.g. $48656c6c6f2c20776f726c6421.
    • Allows optional dots, e.g. $48.65.6c.6c.6f.2c.20.77.6f.72.6c.64.21.
  • Binary strings, e.g. $"Hello, \x77orld!".
    • Only printable ASCII characters allowed, no control characters.
    • No \uXXXX or \u{...} escape sequences allowed, instead:
    • Add \xXX for arbitrary byte values.

Unquoted Object Keys

  • Allow unquoted object keys, e.g. { foo: "Hello", bar: 42 }.

Trailing Comma

  • Allow [1,2,3,] and { foo: "Hello", bar: 42, }.

More information

Libraries implementing JAXN

Copyright (c) 2017-2018 Daniel Frey and Dr. Colin Hirsch

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].