Needs work
Project:
Collect
Version:
8.x-1.x-dev
Component:
Miscellaneous
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2015 at 15:11 UTC
Updated:
16 Aug 2015 at 03:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
arla commentedWow, there are way more usages than I expected.
Comment #5
miro_dietikerDoes not apply anymore... :-!
Comment #7
miro_dietikerProviding new patch with the replaces.
Note that Json::encode() doesn't eat a second parameter so the pretty print / improved formatting does not work with what you uploaded.
My patch skips the ones where we need the second parameters and improving those is a second step.
Comment #9
miro_dietikerComment #10
miro_dietikerThe previous patch extended Json serializer with a encodePretty() version of encode(). I didn't want to override encode completely.
OK passed, committed... But still needs some improvements about that pretty print to also decide if we should add it as a service.
Should we even consider DI?