ISIS-JSON types

See ISIS-JSON

ISIS-JSONHow fields are representedHow subfields are represented
type 0association list with repeated tags
[tag, occurrence]
[["10", «content»], …]
single string
"^aAlpha^bBeta"
type 1dictionary with lists of occurrences
{"10" : [«content», …], …}
single string
"^aAlpha^bBeta"
type 2dictionary with lists of occurrences
{"10" : [«content», …], …}
association list
[("a", "Alpha"), ("b", "Beta")…]
type 3dictionary with lists of occurrences
{"10" : [«content», …], …}
dictionary of strings
{"a" : "Alpha", "b" : "Beta"…}
type 4dictionary with lists of occurrences
{"10" : [«content», …], …}
dictionary of lists of strings
{"a" : ["Alpha", …], "b" : ["Beta", …], …}
type 5association list with list of occurrences
and no repeated tags [tag, list of occurences]
[["10", [«content», …]], …]
association list
[("a", "Alpha"), ("b", "Beta")…]
type 6association list with list of occurrences
and no repeated tags [tag, list of occurences]
[["10", [«content», …]], …]
single string
"^aAlpha^bBeta"

Examples

ISIS record:

  6 «0393048470»
 10 «Lewis Carroll^rauthor»
 10 «Martin Gardner^reditor»

ISIS-JSON type 0 example:

["6",  "0393048470",
 "10", "Lewis Carroll^rauthor",
 "10", "Martin Gardner^reditor"
]

ISIS-JSON type 1 example:

{"6",  ["0393048470"],
 "10", ["Lewis Carroll^rauthor", 
        "Martin Gardner^reditor"
       ]
}

ISIS-JSON type 2 example:

{"6",  [ [ ["_","0393048470"]]
       ],
 "10", [ [ ["_","Lewis Carroll"], 
           ["r", "author"]
         ], 
         [ ["_","Martin Gardner"], 
           ["r", "editor"]
         ]
       ] 
}

ISIS-JSON type 3 example:

{"6",  [ {"_":"0393048470"}
       ],
 "10", [ {"_":"Lewis Carroll", 
          "r":"author"}, 
         {"_":"Martin Gardner", 
          "r":"editor"}
       ] 
}

ISIS-JSON type 4 example:

{"6",  [ {"_":"0393048470"}
       ],
 "10", [ {"_":"Lewis Carroll", 
          "r":["author"]}, 
         {"_":"Martin Gardner", 
          "r":["editor"]}
       ] 
}

ISIS-JSON type 5 example:

["6",  [ [ ["_","0393048470"]]
       ],
 "10", [ [ ["_","Lewis Carroll"], 
           ["r", "author"]
         ], 
         [ ["_","Martin Gardner"], 
           ["r", "editor"]
         ]
       ] 
]

ISIS-JSON type 6 example:

["6",  "0393048470",
 "10", ["Lewis Carroll^rauthor", 
        "Martin Gardner^reditor"]
]