Page MenuHomeDevCentral

Implement ApiJsonResponse for Serialize and Json
ClosedPublic

Authored by dereckson on Oct 9 2018, 21:11.
Tags
None
Referenced Files
F24894640: D1869.id4723.diff
Mon, Mar 16, 13:02
Unknown Object (File)
Sat, Mar 14, 18:56
Unknown Object (File)
Thu, Mar 12, 04:17
Unknown Object (File)
Mon, Mar 9, 05:19
Unknown Object (File)
Mon, Mar 9, 04:19
Unknown Object (File)
Sun, Mar 8, 23:01
Unknown Object (File)
Sun, Mar 8, 23:00
Unknown Object (File)
Sun, Mar 8, 16:21
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 Not Applicable
Unit
Tests Not Applicable