j2s cannot encode an object keyed with a known format #49

Closed
opened 2024-08-25 23:25:55 +00:00 by lda · 0 comments
Contributor

Right now the only way for j2s to have schemas with objects like:

{
  "foo": { "info": "This is an object with a known schema" },
  "bar": { "info": "Here is another, with the same schema" }
}

is to simply map it to a plain JSON object, and manipulate it directly, which isn't the greatest. Ideally, there should be a {SchemaKey} "meta-type", akin to [SchemaKey].

Right now the only way for j2s to have schemas with objects like: ```json { "foo": { "info": "This is an object with a known schema" }, "bar": { "info": "Here is another, with the same schema" } } ``` is to simply map it to a plain JSON object, and manipulate it directly, which isn't the greatest. Ideally, there should be a `{SchemaKey}` "meta-type", akin to `[SchemaKey]`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Telodendria/Cytoplasm#49
No description provided.