Skip to content

Does not parse array json #55

@albassort

Description

@albassort

This is valid json:

[
	["a", "b", "c"]
]

however, jsony cant parse it.

import jsony
type abc = object
    a : string
    b : string
    c : string
let s = "[["a", "b", "c"]]"
let v = s.fromJson(abc)
echo v

however, this library wasn't made with the json spec in mind.

This should return an array of abc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions