METHOD_0 ( ) { final java . lang . String json = STRING_0 ; final java . util . List < java . lang . Object > expected = new java . util . ArrayList < java . lang . Object > ( ) ; expected . add ( new java . math . BigDecimal ( FLOAT_0 ) ) ; final java . util . Collection < java . lang . Object > read = new org . apache . IDENT_0 . mapper . METHOD_1 ( ) . METHOD_2 ( true ) . build ( ) . METHOD_3 ( new java . io . METHOD_4 ( json ) , new org . apache . IDENT_0 . mapper . IDENT_1 . METHOD_5 ( java . util . List . class , java . lang . Object . class ) ) ; "<AssertPlaceHolder>" ; } build ( ) { if ( ( IDENT_2 ) != null ) { builder . METHOD_6 ( IDENT_2 . METHOD_7 ( METHOD_8 ( ) ) ) ; builder . METHOD_9 ( IDENT_2 . METHOD_10 ( METHOD_11 ( ) ) ) ; } final java . util . function . IDENT_3 < javax . json . stream . IDENT_4 > IDENT_5 = METHOD_12 ( ) ; if ( ( config ) == null ) { config = new javax . json . IDENT_6 . METHOD_13 ( ) ; } if ( config . getProperty ( METHOD_13 . IDENT_7 ) . map ( org . apache . IDENT_0 . IDENT_8 . Boolean . class :: IDENT_9 ) . METHOD_14 ( false ) ) { builder . METHOD_15 ( true ) ; } config . getProperty ( METHOD_13 . IDENT_10 ) . METHOD_16 ( ( IDENT_11 ) -> builder . METHOD_17 ( java . lang . String . valueOf ( IDENT_11 ) ) ) ; config . getProperty ( METHOD_13 . IDENT_12 ) . METHOD_16 ( ( IDENT_13 ) -> builder . METHOD_18 ( ( ! ( . class . METHOD_19 ( IDENT_13 ) ) ) ) ) ; final java . util . Optional < java . lang . Object > IDENT_14 = config . getProperty ( METHOD_13 . IDENT_15 ) ; final javax . json . IDENT_6 . config . IDENT_16 IDENT_17 = new org . apache . IDENT_0 . IDENT_8 . METHOD_20 ( IDENT_14 . METHOD_14 ( org . apache . IDENT_0 . IDENT_8 . IDENT_18 ) ) . create ( ) ; final java . lang . String IDENT_19 = config . getProperty ( METHOD_13 . IDENT_20 ) . map ( String :: valueOf ) . METHOD_14 ( org . apache . IDENT_0 . IDENT_8 . IDENT_21 ) ; final javax . json . IDENT_6 . config . IDENT_22 IDENT_23 = config . getProperty ( METHOD_13 . IDENT_24 ) . map ( javax . json . IDENT_6 . config . IDENT_22 . class :: METHOD_19 ) . METHOD_14 ( new org . apache . IDENT_0 . IDENT_8 . METHOD_21 ( ) ) ; config . getProperty ( STRING_1 ) . METHOD_16 ( ( IDENT_25 ) -> builder . METHOD_22 ( . class . METHOD_19 ( IDENT_25 ) ) ) ; config . getProperty ( STRING_2 7 ) . map ( ( v ) -> ! ( . class . METHOD_23 ( v ) ) ? java . lang . Boolean . METHOD_24 ( v . toString ( ) ) : . class . METHOD_19 ( v ) ) . METHOD_16 ( builder :: IDENT_26 ) ; config . getProperty ( STRING_2 4 ) . map ( ( v ) -> ! ( . class . METHOD_23 ( v ) ) ? java . lang . Boolean . METHOD_24 ( v . toString ( ) ) : . class . METHOD_19 ( v ) ) . METHOD_16 ( builder :: IDENT_27 ) ; config . getProperty ( STRING_2 0 ) . map ( ( v ) -> ! ( . class . METHOD_23 ( v ) ) ? java . lang . Boolean . METHOD_24 ( v . toString ( ) ) : . class . METHOD_19 ( v ) ) . METHOD_16 ( builder :: METHOD_2 ) ; config . getProperty ( STRING_3 0 ) . map ( ( v ) -> ! ( . class . METHOD_23 ( v ) ) ? java . lang . Boolean . METHOD_24 ( v . toString ( ) ) : . class . METHOD_19 ( v ) ) . METHOD_16 ( builder :: IDENT_28 ) ; config . getProperty ( STRING_3 ) . map ( java . util . Map . class :: METHOD_19 ) . METHOD_16 ( builder :: IDENT_29 ) ; final java . util . Map < org . apache . IDENT_0 . mapper . internal . IDENT_30 , org . apache . IDENT_0 . mapper . IDENT_31 < ? , ? > > IDENT_32 = METHOD_25 ( builder ) ; final org . apache . IDENT_0 . IDENT_8 . spi . IDENT_33 factory = config . getProperty ( STRING_4 ) . map ( ( val ) -> { if ( . class . METHOD_23 ( val ) ) { return . class . METHOD_19 ( val ) ; } if ( . class . METHOD_23 ( val ) ) { try { return . class . METHOD_19 ( METHOD_26 ( ) . METHOD_27 ( val . toString ( ) ) . newInstance ( ) ) ; } catch ( java . lang . IDENT_34 | java . lang . IDENT_35 | java . lang . IDENT_36 e ) { throw new < org . apache . IDENT_0 . IDENT_8 . e > java . lang . IllegalArgumentException ( ) ; } } if ( . class . METHOD_23 ( val ) ) { try { return . class . METHOD_19 ( . class . METHOD_19 ( val ) . newInstance ( ) ) ; } catch ( java . lang . IDENT_34 | java . lang . IDENT_36 e ) { throw new < org . apache . IDENT_0 . IDENT_8 . e > java . lang . IllegalArgumentException ( ) ; } } throw new java . lang . IllegalArgumentException ( ( STRING_2 3 + val ) ) ; } ) . METHOD_28 ( this :: IDENT_37 ) ; final org . apache . IDENT_0 . mapper . IDENT_38 . IDENT_39 IDENT_40 = config . getProperty ( STRING_5 ) . map ( this :: IDENT_41 ) . METHOD_28 ( ( ) -> new org . apache . IDENT_0 . IDENT_8 . METHOD_29 ( IDENT_17 , IDENT_19 , IDENT_23 , ( ! ( IDENT_14 . METHOD_14 ( "" ) . equals ( IDENT_16 . IDENT_42 ) ) ) , IDENT_32 , factory , IDENT_5 , config . getProperty ( STRING_2 ) . map ( this :: IDENT_41 ) . METHOD_28 ( ( ) -> new org . apache . IDENT_0 . mapper . IDENT_38 . METHOD_30 ( true , true , false ) ) , config . getProperty ( STRING_2 5 ) . map ( ( it ) -> . class . METHOD_23 ( it ) ? java . lang . Boolean . METHOD_24 ( it . toString ( ) ) : . class . METHOD_19 ( it ) ) . METHOD_14 ( true ) ) ) ; builder . METHOD_31 ( IDENT_40 ) ; config . getProperty ( METHOD_13 . IDENT_43 ) . METHOD_16 ( ( IDENT_44 ) -> java . util . stream . IDENT_45 . of ( . class . METHOD_19 ( IDENT_44 ) ) . METHOD_32 ( ( adapter ) -> { final java . lang . reflect . IDENT_46 IDENT_47 = . class . METHOD_19 ( java . util . stream . IDENT_45 . of ( adapter . getClass ( ) . METHOD_33 ( ) ) . filter ( ( i ) -> ( . class . METHOD_23 ( i ) ) && ( ( . class . METHOD_19 ( i ) . METHOD_34 ( ) ) == ( . class ) ) ) . METHOD_35 ( ) . METHOD_14 ( null ) ) ; if ( IDENT_47 == null ) { throw new java . lang . IllegalArgumentException ( ( adapter + STRING_2 9 ) ) ; } final java . lang . reflect . Type [ ] args = IDENT_47 . METHOD_36 ( ) ; final org . apache . IDENT_0 . IDENT_8 . converter . IDENT_48 IDENT_49 = new org . apache . IDENT_0 . IDENT_8 . converter . METHOD_37 ( adapter , args [ 0 ] , args [ 1 ] ) ; builder . METHOD_38 ( args [ 0 ] , args [ 1 ] , IDENT_49 ) ; IDENT_32 . put ( new org . apache . IDENT_0 . mapper . internal . METHOD_39 ( args [ 0 ] , args [ 1 ] ) , IDENT_49 ) ; } ) ) ; config . getProperty ( METHOD_13 . IDENT_50 ) . map ( org . apache . IDENT_0 . IDENT_8 . Boolean . class :: METHOD_19 ) . METHOD_16 ( ( IDENT_51 ) -> { } ) ; config . getProperty ( STRING_2 6 ) . map ( ( v ) -> . class . METHOD_23 ( v ) ? . class . METHOD_19 ( v ) : java . lang . Boolean . METHOD_24 ( java . lang . String . valueOf ( v ) ) ) . METHOD_16 ( builder :: IDENT_52 ) ; config . getProperty ( METHOD_13 . IDENT_53 ) . map ( java . lang . String . class :: METHOD_19 ) . METHOD_16 ( ( IDENT_54 ) -> { switch ( IDENT_54 ) { case IDENT_55 . IDENT_56 : break ; case IDENT_55 . IDENT_57 : builder . METHOD_40 ( true ) ; break ; case IDENT_55 . IDENT_58 : builder . METHOD_41 ( . class , new IDENT_59 < byte [ ] > ( ) { @ java . lang . Override public java . lang . String toString ( final byte [ ] instance ) { return java . util . IDENT_60 . METHOD_42 ( ) . METHOD_43 ( instance ) ; } @ java . lang . Override public byte [ ] METHOD_44 ( final java . lang . String text ) { return java . util . IDENT_60 . METHOD_45 ( ) . decode ( text . getBytes ( IDENT_61 . UTF_8 ) ) ; } } ) ; break ; default : throw new java . lang . IllegalArgumentException ( ( STRING_6 + IDENT_54 ) ) ; } } ) ; METHOD_46 ( ) ; final org . apache . IDENT_0 . core . IDENT_62 types = new org . apache . IDENT_0 . core . METHOD_47 ( ) ; builder . METHOD_48 ( config . getProperty ( STRING_2 2 ) . map ( org . apache . IDENT_0 . IDENT_8 . Boolean . class :: METHOD_19 ) . METHOD_14 ( false ) ) ; builder . METHOD_49 ( config . getProperty ( STRING_7 ) . map ( org . apache . IDENT_0 . IDENT_8 . Boolean . class :: METHOD_19 ) . METHOD_14 ( true ) ) ; config . getProperty ( STRING_2 8 ) . map ( ( s ) -> { if ( . class . METHOD_23 ( s ) ) { try { return . class . METHOD_19 ( java . lang . Thread . METHOD_50 ( ) . METHOD_51 ( ) . METHOD_27 ( s . toString ( ) ) . METHOD_52 ( ) . newInstance ( ) ) ; } catch ( java . lang . IDENT_34 | java . lang . IDENT_36 | java . lang . IDENT_63 | java . lang . IDENT_35 e ) { throw new < org . apache . IDENT_0 . IDENT_8 . e > java . lang . IllegalArgumentException ( ) ; } catch ( e ) { throw new java . lang . IllegalArgumentException ( org . apache . IDENT_0 . IDENT_8 . e . METHOD_53 ( ) ) ; } } return s ; } ) . METHOD_16 ( ( s ) -> builder . METHOD_54 ( . class . METHOD_19 ( s ) ) ) ; config . getProperty ( METHOD_13 . IDENT_64 ) . map ( javax . json . IDENT_6 . serializer . IDENT_65 [ ] . class :: METHOD_19 ) . METHOD_16 ( ( IDENT_66 ) -> { java . util . stream . IDENT_45 . of ( IDENT_66 ) . METHOD_32 ( ( s ) -> { final java . lang . reflect . IDENT_46 IDENT_47 = types . METHOD_55 ( s . getClass ( ) , . class ) ; final java . lang . reflect . Type [ ] args = IDENT_47 . METHOD_36 ( ) ; if ( ( args . length != 1 ) || ( ! ( . class . METHOD_23 ( args [ 0 ] ) ) ) ) { throw new java . lang . IllegalArgumentException ( STRING_8 ) ; } builder . METHOD_56 ( . class . METHOD_19 ( args [ 0 ] ) , ( ( org . apache . IDENT_0 . mapper . IDENT_67 . IDENT_68 ) ( ( instance , IDENT_69 ) -> s . serialize ( instance , IDENT_69 . METHOD_57 ( ) , new org . apache . IDENT_0 . IDENT_8 . serializer . METHOD_58 ( IDENT_69 ) ) ) ) ) ; } ) ; } ) ; config . getProperty ( METHOD_13 . IDENT_70 ) . map ( javax . json . IDENT_6 . serializer . IDENT_71 [ ] . class :: METHOD_19 ) . METHOD_16 ( ( IDENT_72 ) -> { java . util . stream . IDENT_45 . of ( IDENT_72 ) . METHOD_32 ( ( d ) -> { final java . lang . reflect . IDENT_46 IDENT_47 = types . METHOD_55 ( d . getClass ( ) , . class ) ; final java . lang . reflect . Type [ ] args = IDENT_47 . METHOD_36 ( ) ; if ( ( args . length != 1 ) || ( ! ( . class . METHOD_23 ( args [ 0 ] ) ) ) ) { throw new java . lang . IllegalArgumentException ( STRING_2 1 ) ; } builder . METHOD_56 ( . class . METHOD_19 ( args [ 0 ] ) , ( ( org . apache . IDENT_0 . mapper . IDENT_67 . IDENT_73 ) ( ( IDENT_74 , IDENT_75 , parser ) -> d . METHOD_59 ( org . apache . IDENT_0 . IDENT_8 . IDENT_76 . METHOD_60 ( IDENT_74 , IDENT_5 ) , new org . apache . IDENT_0 . IDENT_8 . serializer . METHOD_61 ( parser ) , IDENT_75 ) ) ) ) ; } ) ; } ) ; final boolean IDENT_77 = ( ( ( IDENT_78 ) != null ) && ( IDENT_78 . METHOD_62 ( ) ) ) && ( config . getProperty ( STRING_9 ) . map ( org . apache . IDENT_0 . IDENT_8 . Boolean . class :: METHOD_19 ) . METHOD_14 ( Boolean . IDENT_79 ) ) ; if ( java . io . IDENT_80 . class . METHOD_23 ( IDENT_40 ) ) { builder . METHOD_63 ( java . io . IDENT_80 . class . METHOD_19 ( IDENT_40 ) ) ; } final org . apache . IDENT_0 . mapper . IDENT_81 mapper = builder . build ( ) ; return IDENT_77 ? new org . apache . IDENT_0 . IDENT_8 . METHOD_64 ( mapper ) { { IDENT_78 . METHOD_65 ( this ) ; } @ org . apache . IDENT_0 . IDENT_8 . Override public void close ( ) { try { super . close ( ) ; } finally { if ( IDENT_78 . METHOD_62 ( ) ) { IDENT_78 . METHOD_66 ( this ) ; } } } } : new org . apache . IDENT_0 . IDENT_8 . METHOD_64 ( mapper ) ; }
org . junit . Assert . assertEquals ( expected , read )