Could you (or anyone else) please provide guidance as to what I could do to
preserve an easy to use interface for users of my library?
Currently I have 2 ideas.
* The first is to define types with the appropriate private fields for the
JSON and defining exported getter procedures for people i
I am trying to write a wrapper for a JSON API and I want to map its JSON
objects to custom Nim objects. I am having trouble figuring out what to do with
fields that aren't always provided in the JSON objects.
import json
type
Type = object
# Normal field, alwa