Skip to content

Commit

Permalink
Move JsonSerDes from "model.json" to "util.json" package
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Jan 3, 2020
1 parent 7adef51 commit 3efc58b
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
import java.security.interfaces.ECPublicKey;
import java.util.Arrays;

import org.eclipse.leshan.core.model.json.JsonSerDes;
import org.eclipse.leshan.util.Base64;
import org.eclipse.leshan.util.Hex;
import org.eclipse.leshan.util.json.JsonSerDes;

import com.eclipsesource.json.JsonObject;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
import java.security.cert.CertificateEncodingException;
import java.security.cert.X509Certificate;

import org.eclipse.leshan.core.model.json.JsonSerDes;
import org.eclipse.leshan.util.Base64;
import org.eclipse.leshan.util.json.JsonSerDes;

import com.eclipsesource.json.Json;
import com.eclipsesource.json.JsonObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package org.eclipse.leshan.json;

import org.eclipse.leshan.core.model.ResourceModel.Type;
import org.eclipse.leshan.core.model.json.JsonSerDes;
import org.eclipse.leshan.util.json.JsonSerDes;

import com.eclipsesource.json.JsonObject;
import com.eclipsesource.json.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*******************************************************************************/
package org.eclipse.leshan.json;

import org.eclipse.leshan.core.model.json.JsonSerDes;
import org.eclipse.leshan.util.json.JsonSerDes;

import com.eclipsesource.json.JsonArray;
import com.eclipsesource.json.JsonObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Contributors:
* Sierra Wireless - initial API and implementation
*******************************************************************************/
package org.eclipse.leshan.core.model.json;
package org.eclipse.leshan.util.json;

import java.util.ArrayList;
import java.util.Collection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import org.eclipse.leshan.core.model.ObjectModel;
import org.eclipse.leshan.core.model.ResourceModel;
import org.eclipse.leshan.core.model.json.JsonSerDes;
import org.eclipse.leshan.util.json.JsonSerDes;

import com.eclipsesource.json.Json;
import com.eclipsesource.json.JsonArray;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.eclipse.leshan.core.model.ResourceModel;
import org.eclipse.leshan.core.model.ResourceModel.Operations;
import org.eclipse.leshan.core.model.ResourceModel.Type;
import org.eclipse.leshan.core.model.json.JsonSerDes;
import org.eclipse.leshan.util.json.JsonSerDes;

import com.eclipsesource.json.Json;
import com.eclipsesource.json.JsonObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
import java.security.interfaces.ECPublicKey;
import java.util.Arrays;

import org.eclipse.leshan.core.model.json.JsonSerDes;
import org.eclipse.leshan.util.Base64;
import org.eclipse.leshan.util.Hex;
import org.eclipse.leshan.util.json.JsonSerDes;

import com.eclipsesource.json.JsonObject;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
import java.security.cert.CertificateEncodingException;
import java.security.cert.X509Certificate;

import org.eclipse.leshan.core.model.json.JsonSerDes;
import org.eclipse.leshan.util.Base64;
import org.eclipse.leshan.util.json.JsonSerDes;

import com.eclipsesource.json.Json;
import com.eclipsesource.json.JsonObject;
Expand Down

0 comments on commit 3efc58b

Please sign in to comment.