View Source ExTeal.Resource.Serializer (ExTeal v0.27.0)

Serializes a resource response into json

Summary

Functions

Link to this function

as_json(conn, body, status \\ 200)

View Source
Link to this function

render_create(model, resource, conn)

View Source
Link to this function

render_errors(conn, errors)

View Source
Link to this function

render_index(map, resource, conn)

View Source
Link to this function

render_related(models, resource, conn)

View Source
Link to this function

render_show(model, resource, conn)

View Source
Link to this function

render_update(model, resource, conn)

View Source
Link to this function

schema_summary(schema, resource)

View Source

Generates a map that summarizes the specified schema for global and relational searches.