Extracting from a regex match with unknown number of captures is still a kludge, at least judging from my experience with python.<p>Come on, what can you mess up splitting lines into fields?<p>I&#x27;m not specific to C&#x2F;C++. It&#x27;s just often the easiest&#x2F;most straightforward thing to do as opposed to popular opinion. C
structs are a good tool for concise description of data inter-relations. (Ownership or mutability are totally orthogonal questions).<p>Conversely, how do you check integrity of JSON inputs (meaning the tree as it was returned from a JSON parser library)? The odds are not. Much more work since you don&#x27;t know at each step precisely what has to come.<p>Yeah, sqlite3 is a popular option. But it&#x27;s more an alternative answer to the question of in-memory storage. It&#x27;s not particularly suited as a human-friendly data interchange format.