Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

Repository files navigation

JSON Parser

A JSON parser for modern C++.

Usage

C++

#include <JSONParser.h>

int main() {
    std::string_view json = "[1, 2, true, null, { \"key\": \"value\" }]";
    if (std::optional<json::Value> json_value = json::parse_value(json); json_value.has_value()) {
        // ...
    }
}

CMake

add_executable(example example.cpp)

add_subdirectory(json-parser-cpp)
target_link_libraries(example PUBLIC JSONParser::JSONParser)

Backlog

  • Parse JSON.
  • Improve error handling.
  • Add support for indexing a JSON object.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages