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

Function main

examples/src/jsonpointer_examples.cpp:571–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571int main()
572{
573 std::cout << "\njsonpointer examples\n\n";
574 jsonpointer_select_author();
575 jsonpointer_address_example();
576 jsonpointer_select_RFC6901();
577 jsonpointer_add_member_to_object();
578 jsonpointer_add_element_to_array();
579 jsonpointer_add_element_to_end_array();
580 jsonpointer_add_element_outside_range();
581 jsonpointer_remove_object_member();
582 jsonpointer_remove_array_element();
583 jsonpointer_replace_object_value();
584 jsonpointer_replace_array_value();
585 jsonpointer_contains();
586 jsonpointer_error_example();
587 jsonpointer_insert_name_exists();
588 jsonpointer_insert_or_assign_name_exists();
589 jsonpointer_get_examples();
590 jsonpointer_address_iterator_example();
591 jsonpointer_address_append_tokens();
592 jsonpointer_address_concatenate();
593 flatten_and_unflatten();
594 flatten_and_unflatten2();
595 get_and_create_if_missing();
596 add_and_create_if_missing();
597 add_if_absent_and_create_if_missing();
598 replace_and_create_if_missing();
599}
600

Callers

nothing calls this directly

Tested by

no test coverage detected