get value from serialized json apex

JavaScript
MyObjects MyA = (MyObjects) JSON.deserialize(req.requestBody.toString(),MyObjects.class);
String code = MyA.Code;
Source

Also in JavaScript: