#is an alias
Serialize) which will receive object that needs to be serialized and mapper as
Serialize) object in
corecontainer or in API sub-app container? I’m in doubt since looking at berg, all “wrappers” are a part of core component, however, in this case, serialization will be performed only for sub-app.
require "yaks" module Main class JsonSerializer Serializer = Yaks.new do # yaks config here end def call(*args) Serializer.call(*args) end end end
JsonSerializerbasically just “wraps” the yaks instance