Skip to content
This repository was archived by the owner on Apr 22, 2021. It is now read-only.
This repository was archived by the owner on Apr 22, 2021. It is now read-only.

Using supermodel with compact JSON and primitive ID references or JSOG? #52

@manosbatsis

Description

@manosbatsis

First of all, I just bumped on Supermodel while looking for something else and it looks brilliant! I've been trying to wrap my head around creating something like this for some time, only Supermodel looks much much better!

Now for my "issue", which is actually a question. All my entities use UUIDs. My back-end uses spring/jackson to serialize entities to JSON. I can tweak that to serialize into more compact JSON using JSOG [1] or primitive ID values as references to objects already serialized. Can supermodel handle that as input and if not, is it possible for me to add this feature to it? I would also like to have JSON requests using the same format down the road without manually compacting JSON on the client side.

[1] https://github.com/jsog/jsog

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions