We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wanna do something like this:
switch (serialize_type) { case PreonCapiSerializeJSON: j = nlohmann::json::parse(json_data, json_data + json_size); break; case PreonCapiSerializeCBOR: j = nlohmann::json::from_cbor(json_data, json_data + json_size); break; case PreonCapiSerializeMessagePack: j = nlohmann::json::from_msgpack(json_data, json_data + json_size); break; case PreonCapiSerializeUBJSON: j = nlohmann::json::from_ubjson(json_data, json_data + json_size); break; case PreonCapiSerializeBSON: j = nlohmann::json::from_bson(json_data, json_data + json_size); break; default: return -101; }
But the json API stops me doing that.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I wanna do something like this:
But the json API stops me doing that.
The text was updated successfully, but these errors were encountered: