[go: up one dir, main page]

Page MenuHomePhabricator

[Task] DataModelSerialization: always force maps to be represented as stdclass objects when generating JSON output.
Closed, InvalidPublic

Description

To make sure empty maps are represented as {} and not [] in JSON, maps should be stdclass objects, not associative arrays. This behavior should be the default, and perhaps even be always on. We should find out if there is any use case that requires associative arrays.

Event Timeline

daniel raised the priority of this task from to High.
daniel updated the task description. (Show Details)
JanZerebecki lowered the priority of this task from High to Medium.May 16 2015, 5:19 PM
JanZerebecki set Security to None.

This blocks "WikibaseDataModelSerialization with what we do with WikibaseLib" and although we have totally removed the Lib Serialization I would not consider this task complete in regards to WikibaseDataModelSerialization..

Currently there is an option in datamodel serialization!

Jonas renamed this task from DataModelSerialization: always force maps to be represented as stdclass objects when generating JSON output. to [Task] DataModelSerialization: always force maps to be represented as stdclass objects when generating JSON output..Aug 15 2015, 12:22 PM