++ed by:
POTATOGIM AERO MBAAS KEEDI EMAZEP

11 PAUSE users
15 non-PAUSE users.

Henry Van Styn

NAME

RapidApp::JSON::ScriptWithData

SYNOPSIS

  use RapidApp::JSON::ScriptWithData;
  use RapidApp::JSON::MixedEncoder 'encode_json';
  
  $swd= RapidApp::JSON::ScriptWithData->new(
    'function () {',
      'blah(12345);',
      'var b= foo(bar(', $self->getSomething, '));',
      'var a=', { x=>1, y=>2, z=>3 }, ';',
      'return baz(a, b);',
    '}'
  );
  
  return encode_json($swd);