[Bio] / FigKernelPackages / ServerThing.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/ServerThing.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.49, Wed Apr 28 14:02:11 2010 UTC revision 1.50, Wed Apr 28 15:31:12 2010 UTC
# Line 5  Line 5 
5      use strict;      use strict;
6      use Tracer;      use Tracer;
7      use YAML;      use YAML;
8        use JSON::Any;
9      use ERDB;      use ERDB;
10      use TestUtils;      use TestUtils;
11      use Time::HiRes;      use Time::HiRes;
# Line 966  Line 967 
967                  $args = YAML::Load($argString);                  $args = YAML::Load($argString);
968              } elsif ($encoding eq 'json') {              } elsif ($encoding eq 'json') {
969                  # Parse the arguments using JSON.                  # Parse the arguments using JSON.
970                  require JSON::Any;                  Trace("Incoming string is:\n$argString") if T(3);
971                  $args = JSON::Any->jsonToObj($argString);                  $args = JSON::Any->jsonToObj($argString);
972              } else {              } else {
973                  Die("Invalid encoding type $encoding.");                  Die("Invalid encoding type $encoding.");

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3