HomeDevCentral

Implement ApiJsonResponse for Serialize and Json

Description

Implement ApiJsonResponse for Serialize and Json

Summary:
Generate a JSON output from an object ready to be serialized to JSON
is trivial. But to be coherent with the more complex objects, we can
offer into_json_response() through a ApiJsonResponse implementation.

The same applies for the Json itself.

Test Plan: ApiJsonResponse for a Serialize is used by D1868.

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D1869

Details

Provenance
derecksonAuthored on Oct 9 2018, 21:07
derecksonPushed on Oct 9 2018, 21:13
Reviewer
dereckson
Differential Revision
D1869: Implement ApiJsonResponse for Serialize and Json
Parents
rLFfe5923fdd069: Bump version to 0.2.0
Branches
Unknown
Tags
Unknown