Skip to content

How to find the size of a json object? #2557

Answered by nlohmann
muhamedsuhail asked this question in Q&A
Discussion options

You must be logged in to vote
  • What would be measured? The memory footprint? The number of bytes needed to serialize the object?
  • When should the size be enforced? While parsing?

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@muhamedsuhail
Comment options

@nlohmann
Comment options

@muhamedsuhail
Comment options

Answer selected by muhamedsuhail
Comment options

You must be logged in to vote
1 reply
@gregmarr
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants