Page MenuHomeDevCentral

Implement ApiJsonResponse for Serialize and Json
ClosedPublic

Authored by dereckson on Oct 9 2018, 21:11.
Tags
None
Referenced Files
F11045201: D1869.id.diff
Sun, Aug 10, 22:04
Unknown Object (File)
Sun, Aug 10, 11:08
Unknown Object (File)
Thu, Aug 7, 20:54
Unknown Object (File)
Thu, Aug 7, 09:13
Unknown Object (File)
Wed, Aug 6, 22:31
Unknown Object (File)
Wed, Aug 6, 20:37
Unknown Object (File)
Wed, Aug 6, 11:44
Unknown Object (File)
Tue, Aug 5, 16:08
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