Skip to content

Add serializing methods #3

@titusfortner

Description

@titusfortner

Add a #to_json and #from_json method

Mostly for interacting with APIs that need the data represented in json format.

This may belong in a controller object instead of a model, but so far I have found it more convenient in the model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions