real relative imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
include "std/containers.zr"
|
||||
include "containers.zr"
|
||||
|
||||
const json.OBJECT = 0
|
||||
const json.ARRAY = 1
|
||||
@@ -76,6 +76,9 @@ func json.Value.free[v: json.Value] : void
|
||||
|
||||
(v as ptr)->free()
|
||||
|
||||
func json.val[x: any] : any
|
||||
return (x as json.Value)->value
|
||||
|
||||
func json.parse[s: str] : json.Value
|
||||
i := 0
|
||||
return json._parse_value(s, ^i)
|
||||
|
||||
Reference in New Issue
Block a user