Page MenuHomeDevCentral

Implement ApiJsonResponse for Serialize and Json
ClosedPublic

Authored by dereckson on Oct 9 2018, 21:11.
Tags
None
Referenced Files
F12449148: D1869.diff
Thu, Nov 6, 20:45
F12448277: D1869.id.diff
Thu, Nov 6, 20:04
F12447345: D1869.id4723.diff
Thu, Nov 6, 19:27
Unknown Object (File)
Wed, Nov 5, 21:10
Unknown Object (File)
Wed, Nov 5, 01:05
Unknown Object (File)
Sat, Nov 1, 20:25
Unknown Object (File)
Sat, Nov 1, 10:18
Unknown Object (File)
Fri, Oct 31, 04:37
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