public void setJsonPathTo ( String path , Object value ) { Object cleanValue = cleanupValue ( value ) ; String jsonPath = getPathExpr ( path ) ; String newContent = getPathHelper ( ) . updateJsonPathWithValue ( content , jsonPath , cleanValue ) ; content = newContent ; }
Update a value in a the content by supplied jsonPath