Page MenuHomeDevCentral

Implement ApiJsonResponse for Serialize and Json
ClosedPublic

Authored by dereckson on Oct 9 2018, 21:11.
Tags
None
Referenced Files
F44943975: D1869.id4722.diff
Wed, Aug 19, 10:51
F44917102: D1869.diff
Wed, Aug 19, 07:47
Unknown Object (File)
Sun, Aug 16, 20:03
Unknown Object (File)
Sun, Aug 16, 07:08
Unknown Object (File)
Sun, Aug 16, 05:18
Unknown Object (File)
Wed, Aug 12, 10:12
Unknown Object (File)
Sat, Aug 8, 15:47
Unknown Object (File)
Fri, Aug 7, 23:14
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