private Long getLongField ( JsonNode json , String fieldName ) { if ( ! json . has ( fieldName ) ) { return null ; } return json . get ( fieldName ) . longValue ( ) ; }
Get a Long field from the JSON .