// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.codec;

import javax.annotation.Nullable;
import java.io.IOException;
import com.hypixel.hytale.codec.util.RawJsonReader;

public interface RawJsonCodec<T>
{
    @Nullable
    @Deprecated
    default T decodeJson(final RawJsonReader reader) throws IOException {
        return this.decodeJson(reader, EmptyExtraInfo.EMPTY);
    }
    
    @Nullable
    T decodeJson(final RawJsonReader p0, final ExtraInfo p1) throws IOException;
}
