diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml
new file mode 100644
index 0000000..c7d1c5a
--- /dev/null
+++ b/.idea/copyright/profiles_settings.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/.idea/goLibraries.xml b/.idea/goLibraries.xml
new file mode 100644
index 0000000..0ca2371
--- /dev/null
+++ b/.idea/goLibraries.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Go_SDK.xml b/.idea/libraries/Go_SDK.xml
new file mode 100644
index 0000000..6552a3b
--- /dev/null
+++ b/.idea/libraries/Go_SDK.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/objtoobj.go b/objtoobj.go
index d19aca7..db1f3e2 100644
--- a/objtoobj.go
+++ b/objtoobj.go
@@ -21,6 +21,13 @@ func ObjToMap(obj interface{}, e ...*Error) Map {
v = obj.(Map)
case map[string]interface{}:
v = obj.(map[string]interface{})
+ case string:
+ v = Map{}
+ e := json.Unmarshal([]byte(obj.(string)), &v)
+ if e != nil {
+ err = errors.New("没有合适的转换对象!" + e.Error())
+ v = nil
+ }
default:
data, err := json.Marshal(obj)
if err != nil {