io.atlasmap.json.module.JsonModule.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4?
q ? ? ? ? ?
? ? ? ?
o ?
o ?
?
o ?
?
o ?
?
? ? ?
? ? ? ? o ? ? ? ?
? ?
? ? ?
? ?
? ? ? ? ? ? ? ? ? ? ?
! ? ? ?
? ?
? ? ?
( ?
( ?
- ? ? ? ?
L ?
L ?
(
L
L ?
> ?
>
>
#
L
G
L
! ?"#$
%&
q'(
Q ?
)*
o+,- ?.
>/
> ?
Q01 ?2 ?34546
-7 ?89
-:
; ? ?<=
!>?
o@ ?AB
qC
DE
DF
)GH
IJK LOG Lorg/slf4j/Logger; ()V Code LineNumberTable LocalVariableTable this $Lio/atlasmap/json/module/JsonModule; processPreValidation )(Lio/atlasmap/spi/AtlasInternalSession;)V atlasSession &Lio/atlasmap/spi/AtlasInternalSession; validations Lio/atlasmap/v2/Validations; jsonValidationService /Lio/atlasmap/json/module/JsonValidationService; jsonValidations Ljava/util/List; LocalVariableTypeTable -Ljava/util/List;
StackMapTableL ?M
ExceptionsN processPreSourceExecution session sourceDocument Ljava/lang/Object; sourceDocumentString Ljava/lang/String; fieldReader 'Lio/atlasmap/json/core/JsonFieldReader; ? ? ? processPreTargetExecution writer 'Lio/atlasmap/json/core/JsonFieldWriter; readSourceValue sourceField Lio/atlasmap/v2/Field; reader# populateTargetField index Ljava/lang/Integer; subFields sourceSubField targetSubField Lio/atlasmap/json/v2/JsonField; i I previousTargetSubField targetField path Lio/atlasmap/core/AtlasPath; targetFieldGroup Lio/atlasmap/v2/FieldGroup; (Ljava/util/List;HOP writeTargetValue fQ processPostSourceExecution processPostTargetExecution
outputBody isSupportedField +(Lio/atlasmap/v2/Field;)Ljava/lang/Boolean; field
cloneField .(Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/Field;
SourceFile JsonModule.java RuntimeVisibleAnnotations #Lio/atlasmap/spi/AtlasModuleDetail; name
JsonModule uri
atlas:json modes SOURCE TARGET dataFormats json configPackages io.atlasmap.json.v2 t uORS (io/atlasmap/api/AtlasValidationException ;Invalid session: Session and AtlasMapping must be specified tTUV -io/atlasmap/json/module/JsonValidationServiceWXYZ t[\]^_`abTcdMefLghij r sklf java/lang/StringBuilder Detected mnopmq json validation noticesrasT "{}: processPreValidation completedstuv java/lang/String .Null or non-String source document: docId='%s' java/lang/Objectwxyz{|}~?? %io/atlasmap/json/core/JsonFieldReader t??T?? %{} processPreSourceExcution completed %io/atlasmap/json/core/JsonFieldWriter?? %{} processPreTargetExcution completed??????? "Source document '%s' doesn't exist?a?{?? [{}: processSourceFieldMapping completed: SourceField:[docId={}, path={}, type={}, value={}]????s??? io/atlasmap/core/AtlasPath?f?f???????????? io/atlasmap/v2/FieldGroup?h??P?p?? io/atlasmap/v2/Field MThe number of source fields (%s) is smaller than target index (%s) - ignoring???? ? | io/atlasmap/json/v2/JsonField?????????????T ?{}: processTargetFieldMapping completed: SourceField:[docId={}, path={}, type={}, value={}], TargetField:[docId={}, path={}, type={}, value={}]????Q?f??? |?? ({}: processPostSourceExecution completed????t @processPostTargetExecution converting JsonNode to string size=%s?p 9No target document created for DataSource:[id=%s, uri=%s]?a?? ({}: processPostTargetExecution completed ? ???f?? ?? "io/atlasmap/json/module/JsonModule??? io/atlasmap/core/BaseAtlasModule io/atlasmap/v2/Validations java/util/List io/atlasmap/api/AtlasException $io/atlasmap/spi/AtlasInternalSession java/lang/Integer java/util/Iterator
getMapping ()Lio/atlasmap/v2/AtlasMapping; (Ljava/lang/String;)V getValidations ()Lio/atlasmap/v2/Validations; getConversionService *()Lio/atlasmap/spi/AtlasConversionService; getFieldActionService +()Lio/atlasmap/spi/AtlasFieldActionService; T(Lio/atlasmap/spi/AtlasConversionService;Lio/atlasmap/spi/AtlasFieldActionService;)V getMode #()Lio/atlasmap/spi/AtlasModuleMode; setMode $(Lio/atlasmap/spi/AtlasModuleMode;)V getDocId ()Ljava/lang/String; setDocId validateMapping /(Lio/atlasmap/v2/AtlasMapping;)Ljava/util/List; isEmpty ()Z
getValidation ()Ljava/util/List; addAll (Ljava/util/Collection;)Z org/slf4j/Logger isDebugEnabled append -(Ljava/lang/String;)Ljava/lang/StringBuilder; size ()I (I)Ljava/lang/StringBuilder; toString debug '(Ljava/lang/String;Ljava/lang/Object;)V getSourceDocument &(Ljava/lang/String;)Ljava/lang/Object; format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; io/atlasmap/v2/AuditStatus WARN Lio/atlasmap/v2/AuditStatus; io/atlasmap/core/AtlasUtil addAudit ?(Lio/atlasmap/api/AtlasSession;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/atlasmap/v2/AuditStatus;Ljava/lang/String;)V java/lang/Class cast &(Ljava/lang/Object;)Ljava/lang/Object; +(Lio/atlasmap/spi/AtlasConversionService;)V setDocument setFieldReader 7(Ljava/lang/String;Lio/atlasmap/spi/AtlasFieldReader;)V setFieldWriter 7(Ljava/lang/String;Lio/atlasmap/spi/AtlasFieldWriter;)V head Head InnerClasses -()Lio/atlasmap/spi/AtlasInternalSession$Head; )io/atlasmap/spi/AtlasInternalSession$Head getSourceField ()Lio/atlasmap/v2/Field; getFieldReader G(Ljava/lang/String;Ljava/lang/Class;)Lio/atlasmap/spi/AtlasFieldReader; getPath ERROR read >(Lio/atlasmap/spi/AtlasInternalSession;)Lio/atlasmap/v2/Field; getFieldType ()Lio/atlasmap/v2/FieldType; getValue ()Ljava/lang/Object; ((Ljava/lang/String;[Ljava/lang/Object;)V getTargetField
hasCollection isIndexedCollection io/atlasmap/v2/AtlasModelFactory createFieldGroupFrom 4(Lio/atlasmap/v2/Field;Z)Lio/atlasmap/v2/FieldGroup; setTargetField C(Lio/atlasmap/v2/Field;)Lio/atlasmap/spi/AtlasInternalSession$Head; getClass ()Ljava/lang/Class; &io/atlasmap/spi/AtlasConversionService fieldTypeFromClass -(Ljava/lang/Class;)Lio/atlasmap/v2/FieldType; setFieldType (Lio/atlasmap/v2/FieldType;)V getField getIndex ()Ljava/lang/Integer; intValue get (I)Ljava/lang/Object; valueOf (I)Ljava/lang/Integer; setSourceField )io/atlasmap/json/v2/AtlasJsonModelFactory copyField 0(Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Z)V getCollectionHelper )()Lio/atlasmap/spi/AtlasCollectionHelper; %io/atlasmap/spi/AtlasCollectionHelper copyCollectionIndexes [(Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;)V add (Ljava/lang/Object;)Z setVacantCollectionIndex? SegmentContext @(Ljava/lang/Integer;)Lio/atlasmap/core/AtlasPath$SegmentContext; setPath getFieldWriter G(Ljava/lang/String;Ljava/lang/Class;)Lio/atlasmap/spi/AtlasFieldWriter; iterator ()Ljava/util/Iterator; hasNext next write removeFieldReader 6(Ljava/lang/String;)Lio/atlasmap/spi/AtlasFieldReader; getRootNode 5()Lcom/fasterxml/jackson/databind/node/ContainerNode; 1com/fasterxml/jackson/databind/node/ContainerNode setTargetDocument length getUri removeFieldWriter 6(Ljava/lang/String;)Lio/atlasmap/spi/AtlasFieldWriter; java/lang/Boolean booleanValue (Z)Ljava/lang/Boolean; A(Lio/atlasmap/json/v2/JsonField;Z)Lio/atlasmap/json/v2/JsonField; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; )io/atlasmap/core/AtlasPath$SegmentContext ! o q r s t u v / *? ? w + x y z { | v ` ?+? +? ?
? Y? ?+? M? Y*? *? ?
N-*? ? -*?
? -+? ? :? ? ? ,? ? W? ? ? )? ? Y? ? ? ? ? ? ? ? ? ? ? *?
? ? w : 0
1 4 5 . 6 6 7 > 8 J 9 Y : e = p > ? A ? B ? D x 4 ? y z ? } ~ ? ? . ? ? ? J f ? ? ? J f ? ? ?
? M ? ? ?0 ? ? ? | v {+*?
? MN,?
,? !? #+*?
"? #Y*?
S? $? %? &?
!,? '? !N? (Y*? ? ):-? *+*?
? + ? ? ? ? ,*?
? ? w 6
H I
J K &