[json] Adding a decode class for double.