0

JsConfig.BeginScope allows me to customize serialization for specific operation without affecting global config. However, how do I provide custom SerializeFn for specific type for the duration of the scope? It seems JsConfig< T > is always static and ignores the scope completely?

Sumrak
  • 3,740
  • 7
  • 31
  • 37

1 Answers1

0

Configuration on JsConfig<T> is only configurable statically and is not an available option on JsConfigScope.

mythz
  • 141,670
  • 29
  • 246
  • 390
  • Any suggestions then on how can I write a library that uses JsConfig< T > without messing up the config of anyone using the library? Or do I need to manually modify Servicestack.Text to add such functionality? – Sumrak Jun 25 '15 at 00:06
  • @Sumrak JsConfig is only static and not scopable. – mythz Jun 25 '15 at 01:12