Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 524 Bytes

unflatten_options.md

File metadata and controls

16 lines (12 loc) · 524 Bytes

jsoncons::jsonpointer::unflatten_options

#include <jsoncons/jsonpointer/jsonpointer.hpp>

enum class unflatten_options{none,object=1};

Specifies how to preserve arrays while unflattening a json object of JSON Pointer-value pairs. There is no unique solution. An integer appearing in a path could be an array index or it could be an object key.

Value Definition
none Default is to attempt to preserve arrays
assume_object Assume an integer appearing in a path is an object key