             FDatabaseUsersItem.kKeySyncstamp,
             "identifier doesn't match user property")
     }
+    
+    func testJson()
+    {
+        guard
+            
+            let user:FDatabaseUsersItem = self.user
+            
+        else
+        {
+            return
+        }
+        
+        user.identifier = kUserId
+        
+        let timestamp:TimeInterval = Date().timeIntervalSince1970
+        
+        let syncstamp:FDatabaseUsersItemSyncstamp? = FDatabaseUsersItemSyncstamp(
+            user:user)
+        
+        let json:Any? = syncstamp?.json
+        
+        XCTAssertNotNil(
+            json,
+            "failed creating json")
+        
+        let time:TimeInterval? = json as? TimeInterval
+        
+        XCTAssertNotNil(
+            time,
+            "json is not a time interval")
+        
+        guard
+        
+            let syncTime:TimeInterval = time
+        
+        else
+        {
+            return
+        }
+        
+        XCTAssertGreaterThanOrEqual(
+            syncTime,
+            timestamp,
+            "syncstamp is not current date/time")
+    }
 }

        }
        
        user.identifier = kUserId
        let syncstamp:FDatabaseUsersItemSyncstamp? = FDatabaseUsersItemSyncstamp(
            user:user)
        

        }
        
        user.identifier = kUserId
        
        let syncstamp:FDatabaseUsersItemSyncstamp? = FDatabaseUsersItemSyncstamp(
            user:user)
        
