export-table-pulgin-csharp 1.1.118 → 1.1.120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,7 +133,7 @@ namespace ${exportNamespace}
133
133
  Debug.Log("ReferConfig-${RowClass}");
134
134
  }
135
135
  #endif
136
- [Serializable]
136
+ [System.Serializable]
137
137
  internal class TempA
138
138
  {
139
139
  public FAnnouncementTable[] a;
@@ -154,7 +154,7 @@ namespace ${exportNamespace}
154
154
  ${RowClass}[] jsonObjs;
155
155
  try
156
156
  {
157
- jsonObjs = JsonUtility.FromJson<TempA>("{\"a\":"+configJson.text+"}").a;
157
+ jsonObjs = JsonUtility.FromJson<TempA>("{\\"a\\":"+configJson.text+"}").a;
158
158
  //jsonObjs = JSON.parse<${RowClass}[]>(configJson.text);
159
159
  }
160
160
  catch(System.Exception ex)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.1.118",
3
+ "version": "1.1.120",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {},
@@ -129,7 +129,7 @@ namespace ${exportNamespace}
129
129
  Debug.Log("ReferConfig-${RowClass}");
130
130
  }
131
131
  #endif
132
- [Serializable]
132
+ [System.Serializable]
133
133
  internal class TempA
134
134
  {
135
135
  public FAnnouncementTable[] a;
@@ -150,7 +150,7 @@ namespace ${exportNamespace}
150
150
  ${RowClass}[] jsonObjs;
151
151
  try
152
152
  {
153
- jsonObjs = JsonUtility.FromJson<TempA>("{\"a\":"+configJson.text+"}").a;
153
+ jsonObjs = JsonUtility.FromJson<TempA>("{\\"a\\":"+configJson.text+"}").a;
154
154
  //jsonObjs = JSON.parse<${RowClass}[]>(configJson.text);
155
155
  }
156
156
  catch(System.Exception ex)