Page MenuHomePhabricator

Add ability to output objects instead of arrays for maps in WikibaseDataModelSerialization to not confuse them with lists when they are empty
Closed, ResolvedPublic

Description

The problem is outlined here:
https://lists.wikimedia.org/pipermail/wikidata-tech/2014-September/000575.html

Issue in the relevant component:
https://github.com/wmde/WikibaseDataModelSerialization/issues/77


Version: unspecified
Severity: major
Whiteboard: u=dev c=backend p=2 s=2014-09-23

Details

Reference
bz70606

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:45 AM
bzimport set Reference to bz70606.
bzimport added a subscriber: Unknown Object (MLST).

Place where a serializer maybe can be told to differentiate for json output: extensions/Wikibase.git/repo/includes/api/ApiHelperFactory.php getSerializerFactory()