Option to accept json with "trailing" commas

9 views
Skip to first unread message

Benoit Pasquereau

unread,
Apr 25, 2016, 9:47:24 AM4/25/16
to spray.io User List
Hello,

I have to parse non standard json where a trailing comma can be present in array definitions. 

For example, I need to support arrays which look like [1,2,3,]. In 'standard' json the comma after the 3 should not be present.

Is there an option in spray to support the trailing comma ? 

Thanks !
Benoit.

PS: I did searched the list but I didn't find any related question.

Reply all
Reply to author
Forward
0 new messages