Skip to content

How to store data into a Map from json file #2692

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

You must be logged in to vote

You need to define a conversion from JSON to your type faults. See https://github.com/nlohmann/json#arbitrary-types-conversions for guidance.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by nlohmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2691 on March 30, 2021 09:56.