Page MenuHomeDevCentral

Implement ApiJsonResponse for Serialize and Json
ClosedPublic

Authored by dereckson on Oct 9 2018, 21:11.
Tags
None
Referenced Files
F10639324: D1869.diff
Mon, Jul 21, 00:59
Unknown Object (File)
Thu, Jul 17, 22:30
Unknown Object (File)
Thu, Jul 10, 19:20
Unknown Object (File)
Thu, Jul 10, 17:43
Unknown Object (File)
Thu, Jul 10, 09:54
Unknown Object (File)
Wed, Jul 9, 17:07
Unknown Object (File)
Wed, Jul 9, 06:48
Unknown Object (File)
Tue, Jul 8, 17:51
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