void update ( JsonObject dp ) { for ( int i = 0 ; i < dp . names ( ) . size ( ) ; i ++ ) { datapoint . put ( dp . names ( ) . get ( i ) , dp . get ( dp . names ( ) . get ( i ) ) ) ; } }
Updates the data point data