Page MenuHomeDevCentral

Implement ApiJsonResponse for Serialize and Json
ClosedPublic

Authored by dereckson on Oct 9 2018, 21:11.
Tags
None
Referenced Files
F24496951: D1869.diff
Mon, Feb 23, 15:39
F24495752: D1869.diff
Mon, Feb 23, 13:55
F24494565: D1869.diff
Mon, Feb 23, 12:22
F24493162: D1869.diff
Mon, Feb 23, 10:36
Unknown Object (File)
Sun, Feb 22, 15:39
Unknown Object (File)
Sat, Feb 21, 16:49
Unknown Object (File)
Thu, Feb 12, 05:53
Unknown Object (File)
Wed, Feb 11, 09:55
Subscribers
None

Details

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.

Diff Detail

Repository
rLF Limiting Factor
Lint
Lint Passed
Unit
No Test Coverage
Branch
Json (branched from master)
Build Status
Buildable 2886
Build 3134: arc lint + arc unit