Skip to content

KSiren reading is too coupled with the JSON format #7

@MPomeroy

Description

@MPomeroy

The reading of Siren types is, right now, too coupled with JSON as a data format. For instance, in pseudocode the reading of Entities goes something like this:

while (it = reader.nextName()) {
    if (it is "someSirenHeader") {
        someSirenHeaderVal = reader.nextString()
    }
}

Notice the very JSON related functions nextName() and nextString() in that block. It would be good if we could make the reading at the Entity level more generic.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions