Skip to content

use petitparser to recognize jsonDecode output #163

@RandalSchwartz

Description

@RandalSchwartz

I still occasionally think that I can use petitparser to construct a "lexer" and "grammar" for parsing a decodeJson object tree and map it into richer dart objects. The problem is that decodeJson gives me a tree, not a String. Is there a way to use all the wonderful combining and choosing parts of the grammars to essentially "recognize" the shape of a tree, and then map it into Dart objects at each level?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions