evg_observable 1.12.53 → 1.12.54
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.
- package/README.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -260,7 +260,8 @@ observable$.next(TARGET_DATA);
|
|
|
260
260
|
|
|
261
261
|
To convert the observable's data to JSON format, you can use the serialize method. This method turns the observer's
|
|
262
262
|
input data into a JSON string before sending them to subscribers.
|
|
263
|
-
Return Value: An ISetup<string> object
|
|
263
|
+
Return Value: An ISetup<string> object.
|
|
264
|
+
|
|
264
265
|
Usage Example:
|
|
265
266
|
|
|
266
267
|
```ts
|
|
@@ -285,6 +286,7 @@ observable.next(rawObject);
|
|
|
285
286
|
The deserialize method is used to convert data received from the observer from a JSON string back into a JavaScript
|
|
286
287
|
object.
|
|
287
288
|
Return Value: An ISetup<K> object, where K is the type of data resulting from the transformation.
|
|
289
|
+
|
|
288
290
|
Usage Example:
|
|
289
291
|
|
|
290
292
|
```ts
|