You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-33Lines changed: 15 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,7 +170,7 @@ We design the required map, that we call `MAP2` and load it:
170
170
```javascript
171
171
do ##class(SampleApps.Serialize.HandleMaps).SetPersistObjectMAP2()
172
172
```
173
-
173
+
Loa
174
174
Then, we create a new class that we can call `SampleApps.Serialize.PersistObject.generatedMAP2` that extends `OPNLib.Serialize.Template` and change the required parameters. This would be the class definition:
175
175
```javascript
176
176
Class SampleApps.Serialize.PersistObject.generatedMAP2 Extends OPNLib.Serialize.Template
@@ -223,42 +223,24 @@ Get an object up to a drilldown level in JSON format following the default map |
223
223
Get an object in JSON format following the default map and default drilldown especs | /object/json/:class/:id" | GET
224
224
Load an object from JSON using a particular map and drilldown especifications | /object/json/:class/:ddlevel/:map | POST
225
225
Load an object from JSON using its default map and a particular drilldown especifications | /object/json/:class/:ddlevel | POST
226
-
| /object/json/:class | POST
227
-
(assuming there is a property _classname_ in input JSON) | /object/json | POST
226
+
Load an object from JSON using its default map | /object/json/:class | POST
227
+
Load an object from JSON using its default map and which class is included in _classname_ property of the JSON document | /object/json | POST
228
+
Get a serialized object in format especified by serialization method and with a especified drilldown level | /object/serial/:templateclass/:serializationmethod/:class/:id/:ddlevel | GET
229
+
Get a serialized object in format especified by serialization method | /object/serial/:templateclass/:serializationmethod/:class/:id |GET
230
+
Load object from a particular class, and with an especified drilldown level, from a serialized stream | /object/serial/:templateclass/:serializationmethod/:class/:ddlevel | POST
231
+
Load object from a particular class from a serialized stream | /object/serial/:templateclass/:serializationmethod/:class | POST
228
232
Update an object from JSON input | /object/json/:class/:id | PUT
229
233
Delete an object with certain ID | NOT YET IMPLEMENTED | DELETE
230
-
Get serialized object in format especified by serialization method | /object/serial/:templateclass/:serializationmethod/:class/:id/:ddlevel | GET
Set export/import MAPS (all or those comma-separated especified in Filter) from a JSON document | /map/:override/:filter | POST
241
+
Set export/import MAPS from a JSON document (overriding the existing ones if any) | /map" | POST
242
+
Set the export/import MAPS from a JSON document to a different target class (all or those especificied in filter) | /map/chgclass/:targetclass/:override/:filter | POST
243
+
Set the export/import MAPS from a JSON document to a different target class | /map/chgclass/:targetclass | POST
0 commit comments