fix json encode error from yaml definition by m24te28 · Pull Request #46 · maclof/kubernetes-client

Hi, I encounteted a bug when creating deployment from a yaml file. When {} is used in yaml, json_encode method recognize it as empty array and omit error 400 BadRequest. But {} is officially used i...