MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / main

Function main

examples/src/jsonschema_examples.cpp:864–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862#endif
863
864int main()
865{
866 std::cout << "\nJSON Schema Examples\n\n";
867 validate_three_ways();
868 std::cout << "\n";
869
870#if defined(JSONCONS_HAS_STD_VARIANT)
871 validate_before_decode_example();
872#endif
873 defaults_example();
874 optional_format_example();
875
876 draft_201212_example();
877 draft_201909_example();
878 draft_07_example();
879
880 cross_schema_example();
881
882 resolve_uri_example();
883
884 validate_with_patch_to_fix_document(); // (since 1.7.0)
885 validate_usimg_pmr_allocator(); // (since 1.7.0)
886
887 walk_example();
888 std::cout << "_____________________________\n\n";
889 walk_example2(); // (since 1.7.0)
890
891 std::cout << "\n";
892}
893

Callers

nothing calls this directly

Calls 13

validate_three_waysFunction · 0.85
defaults_exampleFunction · 0.85
optional_format_exampleFunction · 0.85
draft_201212_exampleFunction · 0.85
draft_201909_exampleFunction · 0.85
draft_07_exampleFunction · 0.85
cross_schema_exampleFunction · 0.85
resolve_uri_exampleFunction · 0.85
walk_exampleFunction · 0.85

Tested by

no test coverage detected