Class JsonDataSet
- java.lang.Object
-
- org.dbunit.dataset.AbstractDataSet
-
- com.github.mjeanroy.dbunit.core.dataset.JsonDataSet
-
- All Implemented Interfaces:
org.dbunit.dataset.IDataSet
public class JsonDataSet extends org.dbunit.dataset.AbstractDataSet
Implementation ofIDataSet
with JSON file as input.A valid JSON file must respect this schema:
{ "table_name_1": [ { "col1": 1, "col2": "value" } ], "table_name_2": [ { "col1": 1, "col2": "value" } { "col1": 2, "col2": "value" } ] }
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.dbunit.dataset.ITableIterator
createIterator(boolean reverse)
Resource
getResource()
Getsresource
.
-