withJson

Attach the generated library definition data as resource file, with the given id.

Parameters

ctx

context used to retrieve the resource

rawResId

used to retrieve the file