@@ -0,0 +1,1012 @@
+package com.wizzardo.tools.json;%0A%0A/**%0A * Created by wizzardo on 14.09.15.%0A */%0Aclass StringParsingContext %7B%0A    boolean started;%0A    boolean done;%0A    boolean needDecoding;%0A    boolean escape;%0A    byte quote;%0A    byte%5B%5D buffer = new byte%5B16%5D;%0A    int length;%0A%0A    void put(byte%5B%5D bytes, int from, int to) %7B%0A        int length = to - from;%0A        try %7B%0A            System.arraycopy(bytes, from, buffer, this.length, length);%0A        %7D catch (ArrayIndexOutOfBoundsException ex) %7B%0A            ensureCapacity(length + this.length);%0A            put(bytes, from, length);%0A        %7D catch (IndexOutOfBoundsException ex) %7B%0A            ensureCapacity(length + this.length);%0A            put(bytes, from, length);%0A        %7D%0A    %7D%0A%0A    private void ensureCapacity(int length) %7B%0A        byte%5B%5D temp = new byte%5Blength * 2%5D;%0A        System.arraycopy(buffer, 0, temp, 0, this.length);%0A        buffer = temp;%0A    %7D%0A%0A    void reset() %7B%0A        started = false;%0A        done = false;%0A        quote = 0;%0A        length = 0;%0A    %7D%0A%7D%0A

add StringParsingContext