mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 01:22:33 -06:00
26 lines
759 B
Java
26 lines
759 B
Java
package com.alibaba.fastjson.serializer;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class SerialContext {
|
|
public final int features;
|
|
public final Object fieldName;
|
|
public final Object object;
|
|
public final SerialContext parent;
|
|
|
|
public SerialContext(SerialContext serialContext, Object obj, Object obj2, int i) {
|
|
this.parent = serialContext;
|
|
this.object = obj;
|
|
this.fieldName = obj2;
|
|
this.features = i;
|
|
}
|
|
|
|
public String toString() {
|
|
if (this.parent == null) {
|
|
return "$";
|
|
}
|
|
if (this.fieldName instanceof Integer) {
|
|
return this.parent.toString() + "[" + this.fieldName + "]";
|
|
}
|
|
return this.parent.toString() + "." + this.fieldName;
|
|
}
|
|
}
|