Page MenuHomeDevCentral

Implement ApiJsonResponse for Serialize and Json
ClosedPublic

Authored by dereckson on Oct 9 2018, 21:11.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 3, 13:27
Unknown Object (File)
Wed, Apr 1, 20:37
Unknown Object (File)
Tue, Mar 31, 06:17
Unknown Object (File)
Tue, Mar 31, 01:11
Unknown Object (File)
Mon, Mar 30, 04:04
Unknown Object (File)
Sat, Mar 28, 06:16
Unknown Object (File)
Sat, Mar 28, 05:00
Unknown Object (File)
Fri, Mar 27, 05:25
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