hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 0623c73707d90fd449eb97084e69b3c8deb697b2
parent 574397ac4350870cb14ac0bff5e817aa853ca4ee
Author: Sebastian <sebastian@sebsite.pw>
Date:   Wed, 18 May 2022 23:41:08 -0400

encoding::json: add extension info to README

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mencoding/json/README | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/encoding/json/README b/encoding/json/README @@ -1,9 +1,12 @@ This module provides an implementation of the JavaScript Object Notation (JSON) format, as defined by RFC 8259. Note that several other, incompatible -specifications exist. A lexer for JSON values is provided, which may be -initialized with [[lex]] and provides tokens via [[next]], and which uses a -relatively small amount of memory and provides relatively few gurantees -regarding the compliance of the input with the JSON grammar. +specifications exist. This implementation does not include any extensions; only +features which are strictly required by the spec are implemented. + +A lexer for JSON values is provided, which may be initialized with [[lex]] and +provides tokens via [[next]], and which uses a relatively small amount of memory +and provides relatively few gurantees regarding the compliance of the input with +the JSON grammar. Additionally, the [[value]] type is provided to store any value JSON value, as well as helpers like [[newobject]], [[get]], and [[set]]. One can load a JSON