io.atlasmap.json.core.JsonFieldWriter.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4
P ? ? ? ? ? ?
? ? ?
? ?
?
? ? ? ? ? ? ? ?
?
? ? ? ? ? ?
?
?
# ?
#
#
q
#
P
.
?
?
.!
2"
t#$%
2&'
2() *+,
?-./0
?12
.3
.4 56789
:;
=<
2=>?
P@
:A
?BCD
2EF
2G
2H
=IJKLM
N3OP
=QRST *U
*
:V
WX
WY *Z[
m\
m] *^_
W` *ab
Wc *d *e *fg
y ?
Wh *i
jk
Wl *m
no
Wp *q
rs
Wtuvwxyz{|
W} ~
??
~?????
??? LOG Lorg/slf4j/Logger; objectMapper -Lcom/fasterxml/jackson/databind/ObjectMapper; rootNode 3Lcom/fasterxml/jackson/databind/node/ContainerNode; Signature 6Lcom/fasterxml/jackson/databind/node/ContainerNode<*>; ()V Code LineNumberTable LocalVariableTable this 'Lio/atlasmap/json/core/JsonFieldWriter; 0(Lcom/fasterxml/jackson/databind/ObjectMapper;)V getRootNode 5()Lcom/fasterxml/jackson/databind/node/ContainerNode; 8()Lcom/fasterxml/jackson/databind/node/ContainerNode<*>; getObjectMapper /()Lcom/fasterxml/jackson/databind/ObjectMapper; write )(Lio/atlasmap/spi/AtlasInternalSession;)V childNode )Lcom/fasterxml/jackson/databind/JsonNode; index Ljava/lang/Integer;
arrayChild /Lcom/fasterxml/jackson/databind/node/ArrayNode; segment SegmentContext InnerClasses +Lio/atlasmap/core/AtlasPath$SegmentContext; session &Lio/atlasmap/spi/AtlasInternalSession; targetField Lio/atlasmap/v2/Field; path Lio/atlasmap/core/AtlasPath; lastSegment
parentNode
parentSegment LocalVariableTypeTable
StackMapTable????b
Exceptions
writeValue ?(Lcom/fasterxml/jackson/databind/node/ContainerNode;Lio/atlasmap/core/AtlasPath$SegmentContext;Lio/atlasmap/core/AtlasPath$SegmentContext;Lio/atlasmap/v2/Field;)V field valueNode cleanedSegment Ljava/lang/String;? ?(Lcom/fasterxml/jackson/databind/node/ContainerNode<*>;Lio/atlasmap/core/AtlasPath$SegmentContext;Lio/atlasmap/core/AtlasPath$SegmentContext;Lio/atlasmap/v2/Field;)V createParentNode ?(Lcom/fasterxml/jackson/databind/node/ContainerNode;Lio/atlasmap/core/AtlasPath$SegmentContext;Lio/atlasmap/core/AtlasPath$SegmentContext;)Lcom/fasterxml/jackson/databind/node/ObjectNode; 0Lcom/fasterxml/jackson/databind/node/ObjectNode;) ?(Lcom/fasterxml/jackson/databind/node/ContainerNode<*>;Lio/atlasmap/core/AtlasPath$SegmentContext;Lio/atlasmap/core/AtlasPath$SegmentContext;)Lcom/fasterxml/jackson/databind/node/ObjectNode; createValueNode A(Lio/atlasmap/v2/Field;)Lcom/fasterxml/jackson/databind/JsonNode;
valueClass jsonField type Lio/atlasmap/v2/FieldType; value Ljava/lang/Object;?? getChildNode ?(Lcom/fasterxml/jackson/databind/node/ContainerNode;Lio/atlasmap/core/AtlasPath$SegmentContext;Lio/atlasmap/core/AtlasPath$SegmentContext;)Lcom/fasterxml/jackson/databind/JsonNode; ?(Lcom/fasterxml/jackson/databind/node/ContainerNode<*>;Lio/atlasmap/core/AtlasPath$SegmentContext;Lio/atlasmap/core/AtlasPath$SegmentContext;)Lcom/fasterxml/jackson/databind/JsonNode;
SourceFile JsonFieldWriter.java ? ? ? ? ? ? +com/fasterxml/jackson/databind/ObjectMapper ,com/fasterxml/jackson/databind/MapperFeature???? 4com/fasterxml/jackson/core/util/DefaultPrettyPrinter???????? io/atlasmap/api/AtlasException "java/lang/IllegalArgumentException #Argument 'jsonField' cannot be null ?? ?? ? ???? java/lang/StringBuilder Field: ????????? Field type=????? path=?? v=?? io/atlasmap/core/AtlasPath???????????????????? )io/atlasmap/core/AtlasPath$SegmentContext?? Now processing parent segment: ?? -com/fasterxml/jackson/databind/node/ArrayNode ? ? ? ??????? 9Object Array is too small, resizing to accomodate index: , current array: ?? Object Array after resizing: ?? .com/fasterxml/jackson/databind/node/ObjectNode?? ? $Now processing field value segment: ? ? Writing field value ' ' in parent node ' ', parentNode: ? ? Value to write: ??????? *Field type is collection. Fetching array ' ' from parent ' ': ??????? +Unknown JsonNode type '%s' for segment '%s' java/lang/Object???? >Could not find array to place value in, created it in parent: Array before placing value: 8Value Array is too small, resizing to accomodate index: ?? Value Array after resizing: ?????? !Parent node after value written: Creating parent node ' ' under previous parent ' ' (? ) #Created wrapper parent array node '??
Parent Node ' "' after adding child parent node ' ':? ????????? ? java/lang/Character????? ? java/lang/Boolean??? ? java/lang/Integer??? ?? ?? ? java/math/BigDecimal??? ??????? ?????? ??? null .Converted JsonField value to ValueNode. Type: , value: ( ), node class: , node: Looking for child node '
' in parent ' ?? Could not find child node ' '. Found child node '
', class: %io/atlasmap/json/core/JsonFieldWriter
io/atlasmap/spi/AtlasFieldWriter io/atlasmap/v2/Field 1com/fasterxml/jackson/databind/node/ContainerNode java/util/Iterator 'com/fasterxml/jackson/databind/JsonNode java/lang/String io/atlasmap/v2/FieldType #BLOCK_UNSAFE_POLYMORPHIC_BASE_TYPES .Lcom/fasterxml/jackson/databind/MapperFeature; enable ^([Lcom/fasterxml/jackson/databind/MapperFeature;)Lcom/fasterxml/jackson/databind/ObjectMapper; setDefaultPrettyPrinter Y(Lcom/fasterxml/jackson/core/PrettyPrinter;)Lcom/fasterxml/jackson/databind/ObjectMapper; $io/atlasmap/spi/AtlasInternalSession head Head -()Lio/atlasmap/spi/AtlasInternalSession$Head; )io/atlasmap/spi/AtlasInternalSession$Head getTargetField ()Lio/atlasmap/v2/Field; (Ljava/lang/String;)V (Ljava/lang/Throwable;)V org/slf4j/Logger isDebugEnabled ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; io/atlasmap/v2/AtlasModelFactory toString *(Lio/atlasmap/v2/Field;)Ljava/lang/String; ()Ljava/lang/String; debug getFieldType ()Lio/atlasmap/v2/FieldType; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; getPath getValue ()Ljava/lang/Object; getLastSegment -()Lio/atlasmap/core/AtlasPath$SegmentContext; hasCollectionRoot ()Ljava/lang/Boolean; booleanValue createArrayNode 1()Lcom/fasterxml/jackson/databind/node/ArrayNode; createObjectNode 2()Lcom/fasterxml/jackson/databind/node/ObjectNode; getSegments (Z)Ljava/util/List; java/util/List iterator ()Ljava/util/Iterator; hasNext next equals (Ljava/lang/Object;)Z isRoot getCollectionIndex ()Ljava/lang/Integer; size ()I intValue addObject get ,(I)Lcom/fasterxml/jackson/databind/JsonNode; COMPLEX getName getCollectionType !()Lio/atlasmap/v2/CollectionType; io/atlasmap/v2/CollectionType NONE Lio/atlasmap/v2/CollectionType; isEmpty putArray C(Ljava/lang/String;)Lcom/fasterxml/jackson/databind/node/ArrayNode; addArray getClass ()Ljava/lang/Class; format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; addNull set U(ILcom/fasterxml/jackson/databind/JsonNode;)Lcom/fasterxml/jackson/databind/JsonNode; add Z(Lcom/fasterxml/jackson/databind/JsonNode;)Lcom/fasterxml/jackson/databind/node/ArrayNode; replace f(Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;)Lcom/fasterxml/jackson/databind/JsonNode; java/lang/Class putObject D(Ljava/lang/String;)Lcom/fasterxml/jackson/databind/node/ObjectNode; STRING valueOf &(Ljava/lang/Object;)Ljava/lang/String; textNode B(Ljava/lang/String;)Lcom/fasterxml/jackson/databind/node/TextNode; nullNode 0()Lcom/fasterxml/jackson/databind/node/NullNode; CHAR charValue ()C (C)Ljava/lang/String; BOOLEAN booleanNode 4(Z)Lcom/fasterxml/jackson/databind/node/BooleanNode; INTEGER
numberNode D(Ljava/lang/Integer;)Lcom/fasterxml/jackson/databind/node/ValueNode; DOUBLE FLOAT NUMBER G(Ljava/math/BigDecimal;)Lcom/fasterxml/jackson/databind/node/ValueNode; SHORT java/lang/Short %(Ljava/lang/String;)Ljava/lang/Short; B(Ljava/lang/Short;)Lcom/fasterxml/jackson/databind/node/ValueNode; LONG java/lang/Long $(Ljava/lang/String;)Ljava/lang/Long; A(Ljava/lang/Long;)Lcom/fasterxml/jackson/databind/node/ValueNode; BYTE java/lang/Byte $(Ljava/lang/String;)Ljava/lang/Byte; A(Ljava/lang/Byte;)Lcom/fasterxml/jackson/databind/node/ValueNode; =(Ljava/lang/String;)Lcom/fasterxml/jackson/databind/JsonNode; 0com/fasterxml/jackson/databind/node/JsonNodeType MISSING 2Lcom/fasterxml/jackson/databind/node/JsonNodeType; getNodeType 4()Lcom/fasterxml/jackson/databind/node/JsonNodeType; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! ? P ? ? ? ? ? ? ? ? ?
? ? ? s 1*? *? *? *? Y? ? Y? S? ? Y?
? ? ? ? 1 . / 2 3 * 4 0 5 ? 1 ? ? ? ? ? X *? *? *? *+? ? ? 7 . / 8 9 ? ? ? ? ? ? ? ? / *? ? ? <