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
=== Type Safety with flexible JSON <- -> POJO marshalling/serialization and unmarshalling/deserialization
376
376
377
377
* ReṼoman internally uses a modern JSON library called https://github.com/square/moshi[**Moshi**]
378
-
* There may be a POJO that inherits or contains legacy types that are hard or impossible to serialize. ReṼoman lets you serialize such types through `globalSkipTypes`, where you can filter out these legacy types from Marshalling/Unmarshalling, only focussing on fields that matter.
379
-
* The payload may not map to POJO, and you may need a custom types adapter for Marshalling/Unmarshalling. Moshi has it covered for you with its advanced adapter mechanism and ReṼoman accepts Moshi adapters via
378
+
* There may be a POJO that inherits or contains legacy types that are hard or impossible to serialize. ReṼoman lets you serialize only types that matter, through `globalSkipTypes`, where you can filter out these legacy types from Marshalling/Unmarshalling
379
+
* The JSON structure may not align with the POJO, and you may need a _Custom Type Adapter_ for Marshalling/Unmarshalling. Moshi has it covered for you with its advanced adapter mechanism and ReṼoman accepts Moshi adapters via:
380
380
** `requestConfig` — For types present as part of request payload for qualified Steps
381
381
** `responseConfig` — For types present as part of response payload for qualified Steps
382
382
** `globalCustomTypeAdapters` — For types present as part of request payload anywhere
@@ -387,7 +387,7 @@ for an advanced adapter use-case
387
387
388
388
==== JSON POJO Utils
389
389
390
-
link:{sourcedir}/com/salesforce/revoman/input/json/JsonPojoUtils.kt[JSON POJO Utils] can be used to directly convert JSON to POJO and vice versa.
390
+
The bundled link:{sourcedir}/com/salesforce/revoman/input/json/JsonPojoUtils.kt[JSON POJO Utils] can be used to directly convert JSON to POJO and vice versa.
391
391
392
392
[TIP]
393
393
====
@@ -409,7 +409,7 @@ The configuration offers methods through which the execution strategy can be con
409
409
[#_pre_step_and_post_step_hooks]
410
410
=== Pre-Step and Post-Step Hooks
411
411
412
-
A hook lets you fiddle with the execution by plugging in your custom code before or after a Step execution.
412
+
A hook lets you fiddle with the execution by plugging in your custom JVM code before or after a Step execution.
413
413
414
414
[#_step_picks]
415
415
You can pass a `PreTxnStepPick/PostTxnStepPick` which is a `Predicate` used
0 commit comments