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?
o ? ? ? ? ?
? ? ? ?
m ?
m ?
?
m ?
?
m ?
?
? ? ?
? ? ? ? m ? ? ? ?
? ?
? ? ?
? ?
? ? ? ? ? ? ? ? ? ? ?
! ? ? ?
? ?
? ? ?
( ?
( ? ? ?
- ? ? ? ?
L ?
L ?
(
L
L ?
> ?
>
>
#
L
G
L
? !"
#$
o%&
Q ?
'(
>)
> ?
Q* ?+, ?- ?./0/1
-2 ?34
-5
6 ? ?78
!9:
m; ?<=
o>
?@
?A
'BC
DEF 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;
StackMapTableG ?H
ExceptionsI 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; subPath Lio/atlasmap/core/AtlasPath; i I targetField path targetFieldGroup Lio/atlasmap/v2/FieldGroup; (Ljava/util/List;CJK writeTargetValue fL 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 r sJMN (io/atlasmap/api/AtlasValidationException ;Invalid session: Session and AtlasMapping must be specified rOPQ -io/atlasmap/json/module/JsonValidationServiceRSTU rVWXYZ[\]O^_H`aGbcde p qfga java/lang/StringBuilder Detected hijkhl json validation noticesm\nO "{}: processPreValidation completednopq java/lang/String .Null or non-String source document: docId='%s' java/lang/Objectrstuvwxyz{| %io/atlasmap/json/core/JsonFieldReader r}~O? %{} processPreSourceExcution completed %io/atlasmap/json/core/JsonFieldWriter?? %{} processPreTargetExcution completed??????? "Source document '%s' doesn't exist?\?v?? [{}: processSourceFieldMapping completed: SourceField:[docId={}, path={}, type={}, value={}]????n??? io/atlasmap/core/AtlasPath?a?a???????????? io/atlasmap/v2/FieldGroup?c??K?k?? io/atlasmap/v2/Field MThe number of source fields (%s) is smaller than target index (%s) - ignoring???? ? z io/atlasmap/json/v2/JsonField??????O?? ?{}: processTargetFieldMapping completed: SourceField:[docId={}, path={}, type={}, value={}], TargetField:[docId={}, path={}, type={}, value={}]????L?a??? z?? ({}: processPostSourceExecution completed????o @processPostTargetExecution converting JsonNode to string size=%s?k 9No target document created for DataSource:[id=%s, uri=%s]?\?? ({}: processPostTargetExecution completed ? ???a?? ?? "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 3(Lio/atlasmap/v2/Field;)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 setVacantCollectionIndex? SegmentContext @(Ljava/lang/Integer;)Lio/atlasmap/core/AtlasPath$SegmentContext; setPath add (Ljava/lang/Object;)Z 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; 7(Lio/atlasmap/v2/Field;)Lio/atlasmap/json/v2/JsonField; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; )io/atlasmap/core/AtlasPath$SegmentContext ! m o p q r s t / *? ? u + v w x y z t ` ?+? +? ?
? Y? ?+? M? Y*? *? ?
N-*? ? -*?
? -+? ? :? ? ? ,? ? W? ? ? )? ? Y? ? ? ? ? ? ? ? ? ? ? *?
? ? u : 0
1 4 5 . 6 6 7 > 8 J 9 Y : e = p > ? A ? B ? D v 4 ? w x ? { | ? } ~ . ? ? J f ? ? ? J f ? ? ?
? M ? ? ?0 ? ? ? z t {+*?
? MN,?
,? !? #+*?
"? #Y*?
S? $? %? &?
!,? '? !N? (Y*? ? ):-? *+*?
? + ? ? ? ? ,*?
? ? u 6
H I
J K &