unit Prettyjson;

interface

//prettyjson

type
  JRendererOptions = class external
    emptyArrayMsg: String; // nullable
    inlineArrays: Boolean; // nullable
    noColor: Boolean; // nullable
    keysColor: String; // nullable
    dashColor: String; // nullable
    numberColor: String; // nullable
    stringColor: String; // nullable
    defaultIndentation: Float; // nullable
  end;

function render(data: Variant): String; overload;
function render(data: Variant; options: JRendererOptions): String; overload;
function render(data: Variant; options: JRendererOptions; indentation: Float): String; overload;
function renderString(data: String): String; overload;
function renderString(data: String; options: JRendererOptions): String; overload;
function renderString(data: String; options: JRendererOptions; indentation: Float): String; overload;

var
  version: String;


