Class Json5Parser


  • public final class Json5Parser
    extends java.lang.Object
    A parser to parse tokenized Json5 data into a parse tree of Json5Element's.
    • Method Detail

      • parse

        public static Json5Element parse​(Json5Lexer lexer)
        Parses the specified lexer into a parse tree of Json5Element's. Thereby it does not matter if the provided root element is an array or object.
        Parameters:
        lexer - Tokenized json5 data
        Returns:
        a parse tree of Json5Element's corresponding to the specified JSON5 or null if lexer does not provide any data