src/User.js
function(json){
    
    // Protect against forgetting the new keyword when calling the constructor
    if(!(this instanceof User)){
      return new User(json);
    }
    
    // If the given object is already an instance then just return it. DON'T copy it.
    if(User.isInstance(json)){
      return json;
    }
    
    this.init(json);
  }
function(json){
    
    // Protect against forgetting the new keyword when calling the constructor
    if(!(this instanceof User)){
      return new User(json);
    }
    
    // If the given object is already an instance then just return it. DON'T copy it.
    if(User.isInstance(json)){
      return json;
    }
    
    this.init(json);
  }
FamilySearch user.

@class User
@extends ExtensibleData
@param {Object} [json]