output ( ) { com . asakusafw . runtime . io . json . IDENT_0 . IDENT_1 . IDENT_2 format = format ( 1 ) ; int [ ] [ ] data = new int [ ] [ ] { new int [ ] { 100 } } ; java . io . ByteArrayOutputStream output = new java . io . ByteArrayOutputStream ( ) ; try ( com . asakusafw . runtime . io . IDENT_3 < int [ ] > out = format . METHOD_0 ( int [ ] . class , STRING_0 , output ) ) { METHOD_1 ( out , data ) ; } "<AssertPlaceHolder>" ; } METHOD_2 ( byte [ ] ) { java . lang . String file = new java . lang . String ( data , java . nio . IDENT_4 . IDENT_5 . UTF_8 ) ; java . util . regex . IDENT_6 object = java . util . regex . IDENT_6 . METHOD_3 ( STRING_1 ) ; java . util . regex . IDENT_6 field = java . util . regex . IDENT_6 . METHOD_3 ( STRING_2 ) ; java . util . regex . IDENT_7 IDENT_8 = object . matcher ( file ) ; int IDENT_9 = 0 ; java . util . List < int [ ] > results = new java . util . ArrayList ( ) ; while ( IDENT_8 . find ( IDENT_9 ) ) { java . util . regex . IDENT_7 IDENT_10 = field . matcher ( IDENT_8 . group ( 1 ) ) ; int IDENT_11 = 0 ; int [ ] buf = new int [ INT_0 ] ; int IDENT_12 = 0 ; while ( IDENT_10 . find ( IDENT_11 ) ) { int key = java . lang . Integer . METHOD_4 ( IDENT_10 . group ( 1 ) ) ; int value = java . lang . Integer . METHOD_4 ( IDENT_10 . group ( 2 ) ) ; buf [ key ] = value ; IDENT_12 = java . lang . Math . max ( IDENT_12 , ( key + 1 ) ) ; IDENT_11 = IDENT_10 . end ( ) ; } results . add ( java . util . Arrays . METHOD_5 ( buf , 0 , IDENT_12 ) ) ; IDENT_9 = IDENT_8 . end ( ) ; } return results . stream ( ) . toArray ( int [ ] [ ] :: new ) ; }
org . junit . Assert . assertThat ( com . asakusafw . runtime . io . json . IDENT_0 . IDENT_1 . METHOD_2 ( output . toByteArray ( ) ) , is ( data ) )