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)
Sat, Sep 19, 14:12
Unknown Object (File)
Sat, Sep 19, 10:43
Unknown Object (File)
Sat, Sep 19, 00:07
Unknown Object (File)
Fri, Sep 18, 23:13
Unknown Object (File)
Thu, Sep 10, 04:41
Unknown Object (File)
Wed, Sep 9, 15:37
Unknown Object (File)
Thu, Sep 3, 23:02
Unknown Object (File)
Tue, Sep 1, 17:41
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