Do not rely on the fact that go unmarshaled json without error into your type - it may just have ignored all the json and instantiated an empty variable.