We have deprecated the provider in the previous release, indicate our
intent to remove it.
Change-Id: I6e6a65d97f5ca14367dcee2fc16a9822690342a3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
* a particular {@link EffectiveModelContext}, but can be reused by multiple {@link JSONNormalizedNodeStreamWriter}s.
*/
public abstract sealed class JSONCodecFactory extends AbstractCodecFactory<JSONCodec<?>> {
+ @Deprecated(since = "12.0.0", forRemoval = true)
static final class Lhotka02 extends JSONCodecFactory {
Lhotka02(final @NonNull EffectiveModelContext context, final @NonNull CodecCache<JSONCodec<?>> cache) {
super(context, cache, JSONInstanceIdentifierCodec.Lhotka02::new);
*
* @deprecated This is a historic implementation, retained for compatibility. Please migrate to {@link #RFC7951}.
*/
- @Deprecated
+ @Deprecated(since = "11.0.0", forRemoval = true)
DRAFT_LHOTKA_NETMOD_YANG_JSON_02() {
@Override
JSONCodecFactory createFactory(final EffectiveModelContext context, final CodecCache<JSONCodec<?>> cache) {