1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#pragma once #include <cstddef> #include <cstdint> namespace butl { namespace json { // Parsing/serialization event. // enum class event: std::uint8_t { begin_object = 1, end_object, begin_array, end_array, name, string, number, boolean, null }; constexpr std::size_t event_count = 9; } }