public void loadJsonStrResource(String jsonStr) {
        JsonElement tmpElement = JsonParser.parseString(jsonStr);
        updateConfig(new HashMap<>(10), 0, tmpElement);
    }
load config from json string.

@param jsonStr json string
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/conf/AbstractConfiguration.java