ConfigService { @VisibleForTesting static boolean validateJson(String value) { try { JsonElement jsonElement = RuneLiteAPI.GSON.fromJson(value, JsonElement.class); return validateObject(jsonElement, 1); } catch (JsonSyntaxException ex) { return value.length() < MAX_VALUE_LENGTH; } } @Autowired  ConfigService(
		MongoClient mongoClient,
		@Value("${mongo.database}") String databaseName
	); Configuration get(int userId); boolean setKey(
		int userId,
		String key,
		@Nullable String value
	); boolean unsetKey(
		int userId,
		String key
	);  }
@Test public void testValidateJson() { assertTrue(ConfigService.validateJson("1")); assertTrue(ConfigService.validateJson("3.14")); assertTrue(ConfigService.validateJson("test")); assertTrue(ConfigService.validateJson("\"test\"")); assertTrue(ConfigService.validateJson("key:value")); assertTrue(ConfigService.validateJson("{\"key\": \"value\"}")); }