Page MenuHomeDevCentral

Implement ApiJsonResponse for Serialize and Json
ClosedPublic

Authored by dereckson on Oct 9 2018, 21:11.
Tags
None
Referenced Files
F23932539: D1869.id4723.diff
Sun, Feb 8, 00:58
F23932534: D1869.id4722.diff
Sun, Feb 8, 00:58
F23918569: D1869.id4723.diff
Sat, Feb 7, 22:39
F23912339: D1869.diff
Sat, Feb 7, 21:35
Unknown Object (File)
Thu, Feb 5, 18:14
Unknown Object (File)
Thu, Feb 5, 17:39
Unknown Object (File)
Thu, Feb 5, 17:32
Unknown Object (File)
Thu, Feb 5, 17:10
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