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

Function main

examples/src/csv_examples.cpp:772–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770}
771
772int main()
773{
774 std::cout << "\nCSV examples\n\n";
775 read_write_csv_tasks();
776 encode_to_tab_delimited_file();
777 serialize_array_of_arrays_to_comma_delimited();
778 serialize_books_to_csv_file();
779 serialize_books_to_csv_file_with_reorder();
780 last_column_repeats();
781 last_two_columns_repeat();
782 decode_csv_string();
783 decode_csv_stream();
784 encode_csv_file_from_books();
785 decode_encode_csv_tasks();
786
787 csv_decode_without_type_inference();
788 csv_parser_type_inference();
789
790 decode_csv_with_subfields();
791 encode_json_with_subfields();
792
793 csv_source_to_json_value();
794
795 std::cout << "\n";
796 as_a_variant_like_structure();
797 std::cout << "\n";
798 as_a_strongly_typed_cpp_structure();
799 std::cout << "\n";
800 as_a_stream_of_json_events();
801 std::cout << "\n";
802 grouped_into_basic_json_records();
803 std::cout << "\n";
804 grouped_into_strongly_typed_records();
805 std::cout << "\n";
806 encode_n_objects();
807 std::cout << "\n";
808 encode_n_rows();
809 std::cout << "\n";
810 encode_m_columns();
811 std::cout << "\n";
812 csv_source_to_cpp_object();
813 std::cout << "\n";
814 encode_nested_json_to_csv_with_column_mapping();
815 std::cout << "\n";
816 encode_nested_json_to_csv();
817 std::cout << '\n';
818}
819

Callers

nothing calls this directly

Tested by

no test coverage detected