Class JsonDB<T>


  • public class JsonDB<T>
    extends Object
    Very simple JSON-based store for beans with only strings, booleans and numbers as well as simple Lists, Sets and Maps of those types as property values. This DB always simply appends a line at the end, when an bean is added. Therefore adding is very cheap.
    Author:
    Hendrik Schreiber
    • Constructor Detail

      • JsonDB

        public JsonDB​(Path file)
        JsonDb, creates the database file, if it does not exist yet.
        Parameters:
        file - database file