aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/json/parser.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-06-16 15:49:08 +0100
committergingerBill <bill@gingerbill.org>2022-06-16 15:49:08 +0100
commitf2ecda8fece3b7f184207cfcecf246ded7b27f72 (patch)
tree3c314db3ac16183d20e7824eca2764791014e440 /core/encoding/json/parser.odin
parent84a424f21e60f56415c7f1d3336ced9eac02ad81 (diff)
Rename to SJSON for the Simplified JSON notation variant
Diffstat (limited to 'core/encoding/json/parser.odin')
-rw-r--r--core/encoding/json/parser.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/encoding/json/parser.odin b/core/encoding/json/parser.odin
index 7bf88c565..ed36ae33b 100644
--- a/core/encoding/json/parser.odin
+++ b/core/encoding/json/parser.odin
@@ -40,7 +40,7 @@ parse_string :: proc(data: string, spec := DEFAULT_SPECIFICATION, parse_integers
return parse_object(&p)
case .JSON5:
return parse_value(&p)
- case .MJSON:
+ case .SJSON:
#partial switch p.curr_token.kind {
case .Ident, .String:
return parse_object_body(&p, .EOF)