@@ -35,8 +35,11 @@ import qualified Parse.Primitives as P
35-- JSON STRINGS
35-- JSON STRINGS
38+-- INVARIANT: any Json.String is appropriately escaped already
39+-- TODO: is this the right representation for Json.String? Maybe ByteString instead?
38type String =
41type String =
39− Utf8.Utf8 JSON_STRING -- TODO is this the right representation? Maybe ByteString instead?
42+ Utf8.Utf8 JSON_STRING
42data JSON_STRING
45data JSON_STRING