com.bimface.sdk.utils.ConvertUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bimface-java-sdk Show documentation
Show all versions of bimface-java-sdk Show documentation
Bimface provide the required call java sdk.
The newest version!
package com.bimface.sdk.utils;
import com.bimface.sdk.bean.request.QueryElementIdsRequest;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.util.Map;
/**
* @author bimface, 2019/07/24
*/
public class ConvertUtils {
public static Map convertToParamsMap(QueryElementIdsRequest queryElementIdsRequest) {
Gson gson = new Gson();
String requestJson = gson.toJson(queryElementIdsRequest);
return gson.fromJson(requestJson, new TypeToken
© 2015 - 2025 Weber Informatics LLC | Privacy Policy