public static CitationIDIndexPair fromJson ( List < ? > arr ) { String citationId = ( String ) arr . get ( 0 ) ; int noteIndex = ( ( Number ) arr . get ( 1 ) ) . intValue ( ) ; return new CitationIDIndexPair ( citationId , noteIndex ) ; }
Converts a JSON array to a CitationIDIndexPair object .