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)
Mon, Oct 19, 09:23
Unknown Object (File)
Sat, Oct 17, 00:11
Unknown Object (File)
Fri, Oct 16, 10:35
Unknown Object (File)
Wed, Oct 14, 07:18
Unknown Object (File)
Sun, Oct 11, 01:58
Unknown Object (File)
Sat, Oct 10, 14:06
Unknown Object (File)
Sat, Oct 10, 10:27
Unknown Object (File)
Sat, Oct 10, 03:29
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