Package org.djutils.data
Class TestJSONData
- java.lang.Object
 - 
- org.djutils.data.TestJSONData
 
 
- 
public class TestJSONData extends Object
TestJSONData tests writing and reading of a JSON file, and checks that all data is read back correctly into the DataTable.
Copyright (c) 2020-2021 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.- Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
 
- 
- 
Constructor Summary
Constructors Constructor Description TestJSONData() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestreadWriteJSON()test reading and writing of a JSON file. 
 - 
 
- 
- 
Method Detail
- 
testreadWriteJSON
public void testreadWriteJSON() throws IOException, TextSerializationExceptiontest reading and writing of a JSON file.- Throws:
 IOException- on errorTextSerializationException- on unknown data type for (de)serialization
 
 - 
 
 -