X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=policy-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fpolicyagent%2Fclients%2FJsonHelper.java;h=96c9ac960c0b4bb4c37aa220cc1d39d5fb375233;hb=97d18aedfa83bfeb9f914a1b748aa224f04fb8b5;hp=4ce7b5aac05ba936e05483c3d37b0bb56074f9c7;hpb=b66dcce5210e25b2571036becb6f0e7b0c23e1b2;p=nonrtric.git diff --git a/policy-agent/src/main/java/org/oransc/policyagent/clients/JsonHelper.java b/policy-agent/src/main/java/org/oransc/policyagent/clients/JsonHelper.java index 4ce7b5aa..96c9ac96 100644 --- a/policy-agent/src/main/java/org/oransc/policyagent/clients/JsonHelper.java +++ b/policy-agent/src/main/java/org/oransc/policyagent/clients/JsonHelper.java @@ -2,7 +2,7 @@ * ========================LICENSE_START================================= * O-RAN-SC * %% - * Copyright (C) 2019 Nordix Foundation + * Copyright (C) 2020 Nordix Foundation * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,21 +23,23 @@ package org.oransc.policyagent.clients; import com.google.gson.FieldNamingPolicy; import com.google.gson.Gson; import com.google.gson.GsonBuilder; + import java.util.ArrayList; import java.util.List; + import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; + import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -public class JsonHelper { +class JsonHelper { private static Gson gson = new GsonBuilder() // .setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_DASHES) // .create(); private JsonHelper() { - } public static Flux parseJsonArrayOfString(String inputString) {